Parser/printer for HTTP response and request messages.
See RFC2616 for a reference of HTTP/1.1 protocol.
The request and response objects are represented as list of terms, which represent HTTP header fields and other elements (such as the status, and contents).
The current list of request headers is:
The current list of response headers is:
The current list of some common headers is:
Usage:http_request_param(Request)
Request is a parameter of an HTTP request.
Usage 1:http_request_str(RequestURI,Request,RequestBytes,RequestBytesTail)
Parse a string into an HTTP request
Usage 2:http_request_str(RequestURI,Request,RequestBytes,RequestBytesTail)
Generate an HTTP request from a list of parameters
Usage:http_response_param(Response)
Response is a parameter of an HTTP response.