Struct http_file_headers::Head[][src]

pub struct Head { /* fields omitted */ }

All the metadata of for the response headers

Methods

impl Head
[src]

Returns true if response contains partial content (206)

Returns true if response is skipped because cache is fresh (304)

Returns the value of Content-Length header that should be sent

Returns the iterator over headers to send in response

Note: this does not include Content-Length header, use content_length() method explicitly.

Trait Implementations

impl Debug for Head
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Head

impl Sync for Head