Here's my main.py file: from google.appengine.ext import webapp from google.appengine.ext.webapp.util import run_wsgi_app
class startUp(webapp.RequestHandler): def get(self): # execute something that executes the ajax post request class handleAjax(webapp.RequestHandler): def get(self): # This works self.response.out.write('hello') def post(self): # I also tryed this without success #self.response.headers['Content-Length'] = len(res) self.response.out.write('hello') def main(): system = webapp.WSGIApplication([ ('/', startUp), ('/ajax', handleAjax), ]) run_wsgi_app(system) if __name__ == "__main__": main() On 5 מאי, 01:28, "Jason (Google)" <apija...@google.com> wrote: > It sounds like you're using the URL Fetch service. Can you share your code > which executes the POST request? > > - Jason > > On Thu, Apr 30, 2009 at 6:00 PM, Shedokan <shedok...@gmail.com> wrote: > > > I have my app here: > >http://shedokan-os.appspot.com/ > > > at the start of the app it sends a post request to the server. > > and instead of giving the content it supposed to it gives out the > > error "POST requests require a Content-length header." > > and I did specify that kind of header. > > > what's wrong? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---