Open GoogleCodeExporter opened 9 years ago
Update for a code update:
class AppEngineHttpConnection(httplib.HTTPConnection):
...
def request(self, method, url, body=None, headers={}):
if method.lower() in UNAUTHORIZED_METHODS:
# No side-effects on provided headers.
new_headers = {}
new_headers.update(headers)
new_headers[HTTP_METHOD_OVERRIDE_HEADER] = method
method = HTTP_OVERRIDE_METHOD
headers = new_headers
super(AppEngineHttpConnection, self).request(method, url, body, headers)
since AppEngineHttpConnection now inherits from httplib.HTTPConnection
Original comment by dhermes@google.com
on 2 Jan 2013 at 7:52
Original issue reported on code.google.com by
ala...@google.com
on 25 Jul 2012 at 4:53Attachments: