Crate trillium_head[][src]

Expand description

Trillium handler for HEAD requests

This simple handler rewrites HEAD requests to be GET requests, and then before sending the response, removes the outbound body but sets a content length header. Any handlers subsequent to this one see a GET request.

Structs

Trillium handler for HEAD requests

Functions

Alias for Head::new