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-02-28.21:46:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362087998.07.0.469723198147.issue17322@psf.upfronthosting.co.za>
In-reply-to
Content
Yet another one leading spaces :(

>>> req = urllib.request.Request('http://www.example.com/')
>>> req.header_items()
[]
>>> req.add_header(' Foo3', 'Ooops')
>>> req.header_items()
[(' foo3', 'Ooops')]
>>> req.headers
{' foo3': 'Ooops'}
History
Date User Action Args
2013-02-28 21:46:38karlcowsetrecipients: + karlcow, orsenthil
2013-02-28 21:46:38karlcowsetmessageid: <1362087998.07.0.469723198147.issue17322@psf.upfronthosting.co.za>
2013-02-28 21:46:38karlcowlinkissue17322 messages
2013-02-28 21:46:38karlcowcreate