Struct http_file_headers::Head [] [src]

pub struct Head { /* fields omitted */ }

All the metadata of for the response headers

Methods

impl Head
[src]

[src]

Returns true if response contains partial content (206)

[src]

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

[src]

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

[src]

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]

[src]

Formats the value using the given formatter.