Module rewrite

Source

Structs§

DirIndex
Rewrite a directory to a file inside of that directory.
File
A File response from a FileServer and a rewriter.
Prefix
Prefixes all paths with a given path.
TrailingDirs
Normalize directories to always include a trailing slash by redirecting (with a 302 temporary redirect) requests for directories without a trailing slash to the same path with a trailing slash.

Enums§

Rewrite
A Response from a FileServer

Traits§

Rewriter
A file server Rewrite rewriter.