I am trying to use GAE to POST to a resource that throws a Content- Type unsupported (through a 401)
This is because the POST contains no body content, and my thus the server does not need a content type specified in the HTTP request - it rejects requests that specify any content-type header at all. However, URLFetch is appending a Content-Type header of x-www-form- urlencoded to the request (as per docs here - http://code.google.com/appengine/docs/java/urlfetch/overview.html) I don't like this at all, but while I guess it's OK for POSTs that contain data, it should not be appended for POSTs that do not. I feel this is a bug in GAE. What does anyone else think? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
