response_message
http.response_message
HTTP response message
Fields
the request message for which this response was generated
the header fields
the body of the response
Functions
String representation of the message header
NYI: BUG: can only be called once
String representation of the whole message, i.e. header and body
String representation of the whole message, i.e. header and body
NYI: BUG: can only be called once
the whole message as a sequence of bytes
the whole message as a sequence of bytes
the start line of the message, for a response this is also called status line
the status line of the response message
Type Functions
(req option http.request_message, version_major i32, version_minor i32, status_code i32, reason_phrase String, header Sequence (tuple String String), body io.Read_Handler) => http.response_message¶
(req option http.request_message, version_major i32, version_minor i32, status_code i32, reason_phrase String, header Sequence (tuple String String), body io.Read_Handler)
=>
http.response_message¶0.095dev (2025-10-09 18:01:25 GIT hash 4826e516431c193e428991dd546a46472973d8d4 built by fridi@fzen)