Module fallback_page

Source
Available on crate feature fallback-page only.
Expand description

Fallback page module useful for a custom page default.

Functionsยง

fallback_response
Checks if a fallback response can be generated, i.e. if it is a GET request that would result in a 404 error and a fallback page is configured. If a response can be generated then is returned otherwise None.