Message
http.Message
HTTP message, can be a request or a 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
body of the message, if it has one
NYI: CLEANUP: should probably be possible for body to be
array u8, nil or a specify an LM to read from.
The question is what do we need?
body of the message, if it has one
NYI: CLEANUP: should probably be possible for body to be
array u8, nil or a specify an LM to read from.
The question is what do we need?
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
header fields with all lower case
the start line of the message, for requests it is the request line, for responses the status line
0.095dev (GIT hash 9b90842268531a946c757af94179ae191ec67720)