urllib2 multiple Set-Cookie headers in response

Posted by Richard on Stack Overflow See other posts from Stack Overflow or by Richard
Published on 2010-03-16T13:06:23Z Indexed on 2010/03/16 13:26 UTC
Read the original article Hit count: 401

Filed under:
|
|
|

I am using urllib2 to interact with a website that sends back multiple Set-Cookie headers. However the response header dictionary only contains one - seems the duplicate keys are overriding each other.

Is there a way to access duplicate headers with urllib2?

© Stack Overflow or respective owner

Related posts about urllib2

Related posts about python