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 orsenthil
Recipients Billy.Saelim, jwhisnant, orsenthil, rhettinger, santoso.wijaya
Date 2011-04-15.09:26:30
SpamBayes Score 0.000421247
Marked as misclassified No
Message-id <1302859591.73.0.350059998306.issue11652@psf.upfronthosting.co.za>
In-reply-to
Content
It is better to close this issue as it was a Server Error. Standard just says that when there two headers with different values, combine them comma separated as urllib2 does.  Making special case exception for 'Content-Length' header when the server is at fault would be bad idea. We will not know which value to choose from if the values are different.

Closing this bug as Invalid.


>>> import urllib2
>>> req = urllib2.urlopen('http://wwwsearch.sourceforge.net/mechanize/src/mechanize-0.1.11.zip')
>>> req.info()['content-length']
'289519'
History
Date User Action Args
2011-04-15 09:26:31orsenthilsetrecipients: + orsenthil, rhettinger, santoso.wijaya, Billy.Saelim, jwhisnant
2011-04-15 09:26:31orsenthilsetmessageid: <1302859591.73.0.350059998306.issue11652@psf.upfronthosting.co.za>
2011-04-15 09:26:31orsenthillinkissue11652 messages
2011-04-15 09:26:30orsenthilcreate