pub fn fallback_response(page_fallback: &[u8]) -> Response<Body>Available on crate feature
fallback-page only.Expand description
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.