Crate http_file_headers[][src]

A helper library for serving files over HTTP

See examples for full example of how to use it.

Github | Examples | Crate

Structs

Config

A configuration with the builder interface

EncodingIter

Iterator over encodings in preferred order

FileWrapper

Structure that contains all the metadata for response headers and the file which will be sent in response body.

Head

All the metadata of for the response headers

Input

The structure represents parsed input headers

Enums

Encoding

Single encoding that might be accepted by user agent

Output

This enum represents all the information needed to form response for the HTTP request