konteck / wpp

Single file embedded C++ web server
http://konteck.github.com/wpp
93 stars 47 forks source link

Added more HTTP 1.0 response header elements #10

Closed mmaraya closed 10 years ago

mmaraya commented 10 years ago

I reviewed http://www.rfc-base.org/txt/rfc-1945.txt and made the following changes:

The current response header is:

HTTP/1.0 200
Server: Web++ 1.0.1
Content-Type: text/html
Content-Length: 5 

With this change, the response header will be:

HTTP/1.0 200 OK
Server: Web++ 1.0.1
Date: Tue, 31 Dec 2013 04:37:56 UTC
Content-Type: text/html
Content-Length: 5