Re: Bugs: Content-Length not updated by reusedurllib.request.Request / has_header() case-sensitive

Discussion in 'Python' started by Cameron Simpson, Nov 12, 2012.

  1. On 12Nov2012 16:35, Terry Reedy <> 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 <>

    When a man rides a Motorader he stays forever young. - German saying
    Cameron Simpson, Nov 12, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    2,478
    Mark P
    Apr 6, 2007
  2. Josef 'Jupp' Schugt

    Still use 'ruby-bugs' for Ruby bugs?

    Josef 'Jupp' Schugt, Nov 4, 2004, in forum: Ruby
    Replies:
    2
    Views:
    161
    Tom Copeland
    Nov 4, 2004
  3. Xah Lee
    Replies:
    4
    Views:
    962
  4. Johannes Kleese
    Replies:
    4
    Views:
    261
    Terry Reedy
    Nov 27, 2012
  5. Terry Reedy
    Replies:
    0
    Views:
    355
    Terry Reedy
    Nov 13, 2012
Loading...

Share This Page