Re: Mimetools and how to use it

2001-11-14 Thread Skip Montanaro
ot;msg", you'd retrieve the Set-Cookie headers with something like: cookies = msg.getallmatchigheaders("Set-Cookie") Note that you may need to put the actual headers back together. This method returns the raw lines, including continuation lines, as separate list elem

Re: HTTPLib and POST problem with '?'

2002-01-14 Thread Skip Montanaro
h.putheader('Host', 'www.musi-cal.com') h.endheaders() reply, msg, hdrs = h.getreply() In any case, make sure when you test your code you are communicating with a web server that you know and that actually has the URL you are interested in. As the webmast