urllib2.urlopen(req).info() object

Rob Hall bloke at ii.net
Sat Sep 28 02:42:42 EDT 2002


I used ClientCookie.

Rob.


eli li <elimli at yahoo.com> wrote in message
news:an3fhi$3jr$1 at news.iucc.ac.il...
> The call "urllib2.urlopen(req).info()" returns an object similar to the
> dictionary, but it can have muliple values for some key. For example:
>
> Content-Type: text/html
> Set-Cookie: A=M
> Set-Cookie: WEBTRENDS_ID=192.168.120.21
> Set-Cookie: SINFO=ca9e
> Via: 1.1 colosus1 (NetCache NetApp/5.3R2D4)
>
> How can I retrive all values related to 'Set-Cookie' key?
>
>





More information about the Python-list mailing list