Module static_web_server::fallback_page
source · Available on crate feature
fallback-page only.Expand description
Fallback page module useful for a custom page default.
Functions
- Checks if a fallback response can be generated, i.e. if it is a
GETrequest that would result in a404error and a fallback page is configured. If a response can be generated then is returned otherwiseNone.