How can I use Python with Mechanize for posting multipart/form-data?
- by Jonathan
Hi there!
I am using http://pypi.python.org/pypi/mechanize/0.1.11 for programmatic web browsing, I want to be able to upload files to servers the same way the browser does (by sending the content as multipart/form-data, defined in RFC2388)
Is this possible with mechanize, can you show me an example?
Thanks!