request_message
http.request_message
HTTP request message
Fields
the HTTP request method
the header fields
body of the request
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
get the body of the message as a String
get the body of the message as a String
NYI: BUG: can only be called once
the whole message as a sequence of bytes
the whole message as a sequence of bytes
request line of the message
Comment of http.Message.start_line
the start line of the message, for requests it is the request line, for responses the status lineType Functions
(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String)) => http.request_message¶
(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String))
=>
http.request_message¶request with an empty body
(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String), body io.Read_Handler) => http.request_message¶
(method http.request_method, target String, version_major i32, version_minor i32, header Sequence (tuple String String), body io.Read_Handler)
=>
http.request_message¶0.095dev (GIT hash b85caf7d9723bbbca0d1dcdfa7ea0cb016405931)