i want to use the urlfetch get the ebay item data use the url "http://
cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=160318863192", it can
response the gzip data, but it need the request header like:
headers = {
    'Accept-Encoding' : 'gzip',
    'User-Agent' : 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1)'
}
the appengine default user-agent does not get the gzip data. i think
that have many other site check the user-agent and to response
different data. please let us can change the user-agent. thank you!

--~--~---------~--~----~------------~-------~--~----~
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