Hi,

We're using urlfetch to access Yahoo Boss, which requires "Accept-
Encoding: gzip" in the HTTP headers.

The documentation doesn't indicate that this is a "forbidden" header:
http://code.google.com/appengine/docs/python/urlfetch/fetchfunction.html

The code works great on the live server, but on the dev_appserver, the
"Accept-Encoding" header is stripped out before the request is sent
out.  From urlfetch_stub.py:

_UNTRUSTED_REQUEST_HEADERS = frozenset([
  'accept-encoding',
  'content-length',
  'host',
  'referer',
  'user-agent',
  'vary',
  'via',
  'x-forwarded-for',
])


Any idea why this is happening?  Is this by design, or is this a bug
on the local appserver code?

Cheers
Tony

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to