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开发者_StackOverflow, HEAD, PUT, and DELETE: http://code.google.com/appengine/docs/python/urlfetch/ fetchfunction.html
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.
精彩评论