The port on which the request is being handled.
The resolved server name, or the server IP address.
The IP address of the client or the last proxy that sent the request.
The request URI, excluding the query string and the "?" separator. Must start with "/".
The query string, if present.
The transport protocol.
The transport protocol.
The protocol the request was made with, e.g. "HTTP/1.1"
The SSL client certificate, if supplied.
A map of lowercased header names to corresponding values.
The request body, if present.
Other info tacked on to the request.
Helper to add a header to this Request.
Helper to add a header to this Request. Returns a new Request containing a header with name/value. NB: the header name is converted to lowercase before being stored.
Name of the header to add, e.g. "Content-type".
Value of the header, e.g. "text/html"
Other info tacked on to the request.
The request body, if present.
Helper to convert body into a String.
Helper to convert body into a String. Beware using it on huge bodies.
Get the Charset of the request, if any.
Get the Charset of the request, if any. Looks in the Content-Type header. Requests may actually have a Content-Type header for POSTs and PUTs.
Helper to get content length since it is so commonly used.
Helper to get content type since it is so commonly used.
Helper to get a header from the request.
A map of lowercased header names to corresponding values.
The protocol the request was made with, e.g.
The protocol the request was made with, e.g. "HTTP/1.1"
The query string, if present.
The IP address of the client or the last proxy that sent the request.
The transport protocol.
The transport protocol.
The resolved server name, or the server IP address.
The port on which the request is being handled.
Helper to set content length since it is so commonly used.
Helper to set content length since it is so commonly used. Returns new Request.
Helper to set content type since it is so commonly used.
Helper to set content type since it is so commonly used. Returns new Request.
The SSL client certificate, if supplied.
Helper for easily adding things to the attrs map.
Helper for easily adding things to the attrs map.
Name of the thing to add
The thing to add
A new HttpRequest with key/value added to attrs.
The request URI, excluding the query string and the "?" separator.
The request URI, excluding the query string and the "?" separator. Must start with "/".
Basic request. Modeled after Request Map in https://github.com/ring-clojure/ring/blob/master/SPEC
The port on which the request is being handled.
The resolved server name, or the server IP address.
The IP address of the client or the last proxy that sent the request.
The request URI, excluding the query string and the "?" separator. Must start with "/".
The query string, if present.
The transport protocol.
The transport protocol.
The protocol the request was made with, e.g. "HTTP/1.1"
The SSL client certificate, if supplied.
A map of lowercased header names to corresponding values.
The request body, if present.
Other info tacked on to the request.