Python urllib can automatically issue GET and POST requests when [url removed, login to view]() is called. I need to be able to specify all 4 possible HTTP methods: GET, POST, PUT, DELETE This code should be an addition to already available code, which allows uploading files via urllib2 library. This code is found in: [url removed, login to view] What this code does is replace the [url removed, login to view] to correctly encode multi-part messages (for file upload). This project should also add the ability to explicitly specify the HTTP method (for each URL opened, not for the handler creation).
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows:
a) A Python script that includes the complete code
b) An example for using the script and using all four HTTP methods described in the bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
Python 2.4/2.5 compatible.