Function http_srv::request::handler::suffix_html

source ·
pub fn suffix_html(req: &mut HttpRequest)
Expand description

Appends a suffix to the url

If the requested url doesn’t exists, try to append a suffix (‘.html’, ‘.php’), and if it exists, modify the url.