in reply to Slightly OT: HTTP protocal documentation?

The HTTP standard is described in RFC 2616. It should be able to answer all your questions.

As for one question, note that keepalive doesn't work if the return channel must be closed for the client to know it's done. The connection can only be kept alive when a "Content-Length" header is returned (so the client knows how much data to read.)

  • Comment on Re: Slightly OT: HTTP protocal documentation?