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
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'),
>>
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
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