user306082
user306082

Reputation: 21

GAE HTTP method support

I get an "unrecognized HTTP method" when trying to do a REPORT request using httplib and gae. Is there a workaround available? An httplib patch for gae? Do you I have to find another host in order to do this natively?

According to the docs, only certain fetch actions are valid: GET, POST, HEAD, PUT, and DELETE: http://code.google.com/appengine/docs/python/urlfetch/ fetchfunction.html

Upvotes: 2

Views: 313

Answers (1)

Nick Johnson
Nick Johnson

Reputation: 101149

httplib on App Engine is a wrapper around the urlfetch API, which only supports the GET, POST, PUT, HEAD and DELETE methods. I'm afraid you're out of luck unless the API you're accessing supports some sort of X-HTTP-Method-Override functionality.

Upvotes: 4

Related Questions