The HTTP header field “Accept”.
The default value for the Accept header.
The MIME type for JSON content, typically used for requests and responses
containing JSON data.
The MIME type for XML content, typically used for requests and responses
containing XML data.
The name of the application.
A line break character (newline).
A static byte slice representation of the string BR.
A colon followed by a space (: ).
The byte representation of the first character in the COLON_SPACE.
A colon followed by a space symbol (:).
The HTTP header name used to indicate the content encoding of the response.
The HTTP header field name Content-Length, used to specify the length of the response body in bytes.
The HTTP header field name Content-Type, used to specify the media type of the resource or the data being sent in an HTTP request or response.
Default host
The default HTTP path (/), typically used in requests when no specific path is provided.
Default web port
Empty str
The MIME type for form-encoded data, commonly used for sending data in the
body of HTTP requests, especially for form submissions.
GET
Hash symbols
The HTTP header field name Host, used to specify the host and port number of the server.
A constant representing the “HTTP” protocol.
A constant representing the “HTTPS” protocol.
A carriage return and newline character sequence (\r\n), used to separate lines in HTTP headers.
A static reference to a byte slice representing the HTTP line break (\r\n).
A double carriage return and newline character sequence (\r\n\r\n), used to separate HTTP headers from the body.
A static reference to a byte slice representing the HTTP double line break (\r\n\r\n).
The default HTTP version HTTP/2 used in requests and responses.
The default HTTP version HTTP/1.1 used in requests and responses.
The HTTP header field name Location, used to specify the URL to redirect a client.
OK
Options
POST
Query symbols
A single space character.
The byte representation of a single space character.
A tab character.
The byte representation of a tab character.
The MIME type for HTML content, typically used for requests and responses
containing HTML data.
The MIME type for plain text content, typically used for requests and responses
containing simple text data.
Unknown HTTP version
The HTTP header field “User-Agent”.