Mimetools and how to use it
A
printers at sendme.cz
Wed Nov 14 05:51:27 EST 2001
Hi,
>From a web server I receive headers that is an instance of the class
MIMETOOLS.MESSAGE.
How can decode it to get something like this
Date: Wed, 14 Nov 2001 10:02:17 GMT
Server: Apache/1.3.6 (Unix) PHP/3.0.14
X-Powered-By: PHP/3.0.14
Set-Cookie: PHPSESSID=000741aaa06ae3645ff0106145f842b5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0
Pragma: no-cache
Set-Cookie: c_id=bla; path=/
Connection: close
Content-Type: text/html
and how to extract cookies then?
Any help would be highly appreciated.
Ladislav
More information about the Python-list
mailing list