On Feb 7, 6:00 am, reyjexter <[email protected]> wrote: > I'm developing a client/server application. What i'm trying to do is > fetch a certain url but im getting the error above. This is my code: > > from google.appengine.api import urlfetch > url = 'http://localhost:8081/serversample' > response = urlfetch.fetch(url=url, method=urlfetch.GET, headers= > {'Accept-encoding': '*/*'}) > > I tried plugging in:http://www.google.comand it is working
Does this code runs on 8081 as well? If it does, the reason for the error you see is that the SDK cannot handle more than one request at a time. See the note here: http://code.google.com/appengine/docs/python/tools/devserver.html#Using_URL_Fetch --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
