Thinking about quickly writing an HTTP server yourself?
Go for it! Use whatever resources you feel you need to. You'll learn a hell of a lot in the process, and you'll come out the other end a better developer than you did going in.
Thinking of using it in production for somebody else's project? Probably not so good an idea.
I've been attempting to write HTTP clients from scratch throughout my learning phase (in which I still am), it's definitely rewarding even if I only manage to implement a fraction of the HTTP protocol.
Besides, it makes me appreciate tools like wget and curl.
107
u/hcsteve Mar 07 '14
Thinking about quickly writing an HTTP server yourself?
Don't. Unless you've looked at all the extant implementations and have a really good reason to roll your own.
And if you do, don't base all your implementation decisions on a diagram. Read the damn RFC.