Python HTTP Request Patch
<p>I'm trying to send information to the api via patch:   </p>

<pre><code>url = "http://xyz"

data_json = "{'estampas': [{'estampa': u'52'}, {'estampa': u'63'}, {'estampa': u'74'}, {'estampa': u'85'}, {'estampa': u'93'}, {'estampa': u'94'}, {'estampa': u'95'}, {'estampa': u'96'}, {'estampa': u'97'}, {'estampa': u'53'}, {'estampa': u'54'}, {'estampa': u'55'}, {'estampa': u'56'}, {'estampa': u'57'}, {'estampa': u'58'}, {'estampa': u'11'}]}"

request = urllib2.Request(url, data=urllib.urlencode(data_json))
request.add_header("Content-Type", "application/json")
request.get_method = lambda: "PATCH"
response = urllib2.urlopen(request)
print response
</code></pre>

<p>why print it?</p>

<pre><code>&lt;addinfourl at 140636007575424 whose fp = &lt;httplib.HTTPResponse instance at 0x7fe85f462ab8&gt;&gt;
</code></pre>