Hi

This works without any problems http://www.google.ch/search?q=test

But why this gives me another output then the url?

from google.appengine.api import urlfetch
import urllib

form_fields = {'q' : 'test'}

form_data = urllib.urlencode(form_fields)

url = "http://www.google.ch/search";
result = urlfetch.fetch(url=url, payload=form_data,
method=urlfetch.GET)
print result.content

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to