class http_body { int state; int remaining; int read_chunked; int read_length; string buff; mapping data; }
class http_body_info { string content_type; int chunked; int clength; int byterange; string boundary; string range; }
class http_request { class http_session sess; string hostname; int time; string request; string status_line; int status; int proto_num; string method; string uri; string args; string filename; string dir; string user; class http_request_header rh; string location; int id; string the_request; int state; int persistent; string compression; int proxyreq; int numredirect; int cgi_request; class http_body body; class http_body_info bi; class http_request prev; int delayed; int no_cache; }
class http_request_header { int noheaders; class mime_header headers_in; class mime_header headers_out; class mime_header err_headers_out; int header_only; }
class http_session { int fd; int time; string address; string name; }