
http_header.pl -- Handling HTTP headers
The library library(http/http_header) provides primitives for parsing and composing HTTP headers. Its functionality is normally hidden by the other parts of the HTTP server and client libraries.
http_read_request(+FdIn:stream, -Request) is det
- Read an HTTP request-header from FdIn and return the broken-down
request fields as +Name(+Value) pairs in a list. Request is
unified to
end_of_file
if FdIn is at the end of input.
Undocumented predicates
The following predicates are exported, but not or incorrectly documented.
http_status_reply(Arg1, Arg2, Arg3, Arg4, Arg5)
http_join_headers(Arg1, Arg2, Arg3)
http_update_encoding(Arg1, Arg2, Arg3)
http_parse_header(Arg1, Arg2)
http_post_data(Arg1, Arg2, Arg3)
http_read_header(Arg1, Arg2)
http_timestamp(Arg1, Arg2)
http_parse_header_value(Arg1, Arg2, Arg3)
http_reply_header(Arg1, Arg2, Arg3)
http_reply(Arg1, Arg2, Arg3, Arg4)
http_reply(Arg1, Arg2, Arg3)
http_reply(Arg1, Arg2, Arg3, Arg4, Arg5)
http_reply(Arg1, Arg2, Arg3, Arg4, Arg5, Arg6)
http_reply(Arg1, Arg2)
http_read_reply_header(Arg1, Arg2)
http_status_reply(Arg1, Arg2, Arg3, Arg4)
http_update_transfer(Arg1, Arg2, Arg3, Arg4)
http_update_connection(Arg1, Arg2, Arg3, Arg4)