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 <falli...@gmail.com 
> <javascript:>> 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 ran "python dev_appserver.py proj/test" succeeded.
>> but I got a BadStatusLine exception when I goto http://localhost:8080.
>>
>> Did anyone know how to solve this?
>>
>> BadStatusLine: ''
>> Traceback (most recent call last):
>>   File "e:\software\python27\lib\httplib.py", line 373, in _read_status
>>     raise BadStatusLine(line)
>>
>>
>
>
> The BadStatusLine error originates from httplib.py, and the source code 
> for httplib ( http://hg.python.org/cpython/file/2.7/Lib/httplib.py scroll 
> down to line 373) indicates this error occurs when the server closes the 
> connection prematurely, or doesn't receive a valid response. 
>
> There may be an issue with your local dev environment. Can you try running 
> the official helloword example application at 
> https://github.com/GoogleCloudPlatform/appengine-helloworld-python and 
> see if it works for you?
>  
>  
> -----------------
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/87f934a9-a1de-4e5b-8e90-03a55c3cde8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to