How to send an HTTP PUT request using urllib2 or requests
Found the answer:
req = urllib2.Request(url=your_url, data=your_data)
req.get_method = lambda: 'PUT'
In my Django app I need to send an HTTP PUT request to a url.
What is the proper syntax for that?