This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | karlcow |
|---|---|
| Recipients | karlcow, orsenthil |
| Date | 2013年03月02日.14:21:14 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1362234074.77.0.228895410245.issue17322@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
http://hg.python.org/cpython/file/3.3/Lib/urllib/request.py#l359 def add_header(self, key, val): # useful for something like authentication self.headers[key.capitalize()] = val and http://hg.python.org/cpython/file/3.3/Lib/urllib/request.py#l271 in __init__ of class Request: for key, value in headers.items(): self.add_header(key, value) Tests seem to be there, but there are none. Is there a reason why there are no tests? http://hg.python.org/cpython/file/3.3/Lib/test/test_urllib2.py#l98 Or should I add a test in http://hg.python.org/cpython/file/3.3/Lib/test/test_urllib.py I'm confused :) I need guidance. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2013年03月02日 14:21:14 | karlcow | set | recipients: + karlcow, orsenthil |
| 2013年03月02日 14:21:14 | karlcow | set | messageid: <1362234074.77.0.228895410245.issue17322@psf.upfronthosting.co.za> |
| 2013年03月02日 14:21:14 | karlcow | link | issue17322 messages |
| 2013年03月02日 14:21:14 | karlcow | create | |