I know this isn't a SO favored question, but I didn't get enough info I want through Googling. So basiclly I'm writing a HTTP server as a class project. I'm NOT asking how to do it. What I want to know is: what are the basic functionalities to add?
So far I've got:
Date
,Content-Type
,Server
,Content-Length
headersI'm using Python gevent to handle requests, basically it's an asynchronous lib. When I receive a request, I spawn a new greenlet to handle it.
Any information is appreciated.
Well, just a full implementation of HTTP 1.1 with proper error handling is non-trivial.
The flowchart starts: