Crate trillium_head

Source
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§

Head
Trillium handler for HEAD requests

Functions§

head
Alias for Head::new