Trying to write a python script that does the same thing my browser does when posting a form.(cgi) All works except for this. My browser has a cookie which it also sends, and the server insists on getting. So how can I replicate this under python? I've looked at cookie module but can't see how to use it to achieve this. Please help.