Module gotham::http::response [] [src]

Helpers for HTTP Response generation

Functions

create_response

Creates a Response object and populates it with a set of default headers that ensure security and conformance to best practice.

extend_response

Extends a Response object with an optional body and set of default headers that ensure security and conformance to best practice.

set_headers

Sets a number of default headers in a Response that ensure security and conformance to best practice.