Skip to main content

Module config

Module config 

Source

Constants§

VERSION

Functions§

parse_content_length
Parse Content-Length header value from response headers map.
response_headers_to_map
Convert HTTP response headers to HashMap<String, Value>. Keys are always lowercase. Returns an error if the server sent a header value containing non-ASCII bytes — that is a server-side protocol violation. Single value → string, multiple values → array.