Re: [google-appengine] BadStatusLine when run dev_appserver

2015-08-10 Thread Patrice (Cloud Platform Support)
Hi, I just ran some tests, and I was on a Linux machine and couldn't reproduce the issue, whether I was using dev_appserver.py or gcloud. Did you try running "gcloud preview app run" instead of dev_appserver.py? Does it give the same error? Also, what version of the SDK are you using, and what

Re: [google-appengine] BadStatusLine when run dev_appserver

2015-08-08 Thread Krishna Chaitanya Kornepati
I'm getting error even on official example. please help On Sunday, March 16, 2014 at 8:29:15 PM UTC+5:30, Vinny P wrote: > > On Thu, Feb 27, 2014 at 12:01 PM, Amaranth F > wrote: > >> My helloworld.py is like this: >>response_headers = [('Content-Type', 'text/plain'), >>

Re: [google-appengine] BadStatusLine when run dev_appserver

2014-03-16 Thread Vinny P
On Thu, Feb 27, 2014 at 12:01 PM, Amaranth F wrote: > My helloworld.py is like this: >response_headers = [('Content-Type', 'text/plain'), >('Content-Length', str(len(response_body)))] >start_response(status, response_headers) >return [response_body] > > then I

[google-appengine] BadStatusLine when run dev_appserver

2014-03-12 Thread Amaranth F
My helloworld.py is like this: def main(environ,start_response): response_body = 'The request method was %s' % environ['REQUEST_METHOD'] status = '200 OK' response_headers = [('Content-Type', 'text/plain'), ('Content-Length', str(len(response_body)))] start_respon