Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: Bugs: Content-Length not updated by reusedurllib.request.Request / has_header() case-sensitive (http://www.velocityreviews.com/forums/t954446-re-bugs-content-length-not-updated-by-reusedurllib-request-request-has_header-case-sensitive.html)

Cameron Simpson 11-12-2012 10:59 PM

Re: Bugs: Content-Length not updated by reusedurllib.request.Request / has_header() case-sensitive
 
On 12Nov2012 16:35, Terry Reedy <tjreedy@udel.edu> wrote:
| On 11/12/2012 10:52 AM, Johannes Kleese wrote:
| > While at it, I noticed that urllib.request.Request.has_header() and
| > .get_header() are case-sensitive,
|
| Python is case sensitive.

But headers are not. I'd be very inclined to consider case sensitivity
in has_header and get_header to be a bug, absent a compelling argument
against it.
--
Cameron Simpson <cs@zip.com.au>

When a man rides a Motorader he stays forever young. - German saying


All times are GMT. The time now is 07:54 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.