category
http_message_helpers
Internal shared helpers for HTTP transport persistence rules, connection token normalization, and chunk-size line parsing.
logtalk_load(http_core(loader))staticPublic predicates
(no local declarations; see entity ancestors if any)
Protected predicates
connection_persistent/2
Succeeds when a request-response exchange can continue on the same connection according to HTTP persistence semantics.
staticconnection_persistent(Request,Response)connection_persistent(+compound,+compound) - zero_or_onerequest_persistent/1
Succeeds when a normalized HTTP request keeps the connection persistent.
staticrequest_persistent(Request)request_persistent(+compound) - zero_or_oneresponse_persistent/1
Succeeds when a normalized HTTP response keeps the connection persistent.
staticresponse_persistent(Response)response_persistent(+compound) - zero_or_oneversion_persistent_by_default/1
Succeeds when the given HTTP version uses persistent connections by default.
staticversion_persistent_by_default(Version)version_persistent_by_default(+compound) - zero_or_onemessage_has_connection_token/2
Succeeds when a normalized HTTP message exposes the given normalized Connection token through either headers or derived properties.
staticmessage_has_connection_token(Message,Token)message_has_connection_token(+compound,+atom) - zero_or_onemessage_connection_tokens/2
Returns the de-duplicated normalized Connection tokens exposed by a normalized HTTP message.
staticmessage_connection_tokens(Message,Tokens)message_connection_tokens(+compound,-list(atom)) - onemessage_header_values/3
Returns the stored header values for the given header name in message order.
staticmessage_header_values(Message,Name,Values)message_header_values(+compound,+atom,-list) - onechunk_size_line_size/2
Parses a chunk-size line into its hexadecimal size, ignoring optional whitespace and chunk extensions.
staticchunk_size_line_size(LineBytes,Size)chunk_size_line_size(+list(integer),-integer) - onePrivate predicates
(no local declarations; see entity ancestors if any)
Operators
(none)