Module humphrey_server::server::static
source · [−]Expand description
Provides functionality for serving static content.
Functions
Request handler for directories. Attempts to open a given file relative to the binary and returns error 404 if not found.
Request handler for files.
Generates a 404 response.
Request handler for redirects.