In file read.c:

int read_body(request * req)

Reads body data from a request socket for POST CGI

Documentation

Reads body data from a request socket for POST CGI. As quoted from RFC1945: "A valid Content-Length is required on all HTTP/1.0 POST requests. An HTTP/1.0 server should respond with a 400 (bad request) message if it cannot determine the length of the request message's content."
Returns:
-1 is request blocked, 0 is request done, and 1 is more to do.

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.