rspivak / lsbaws

Let's Build A Web Server
MIT License
657 stars 304 forks source link

can't print hello world #2

Closed xuehao closed 9 years ago

xuehao commented 9 years ago

Hi, I tried the first demo webserver1.py. When I open the URL http://localhost:8888/hello in my Firefox, the web page is blank. But, the terminal occurs the following massage:

GET /hello HTTP/1.1
Host: localhost:8888
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive

What's wrong?