Content-length refers to the payload

Of possible interest to new ISAPI programmers:

In the HTTP spec, the content-length refers to the length of the
data AFTER the prologue and NOT INCLUDING the prologue, the
prologue being the part with 200 OK, Content-Type and Content-Length and
being separated from the payload by two CRLF pairs.

Comments

Popular Posts