REQUEST_URL debug log message

Signed-off-by: Sashanoraa <ben@benaaron.dev>
This commit is contained in:
Sashanoraa 2021-11-15 01:41:49 -05:00
parent 57e1b5c85b
commit 4cef709f52

View file

@ -197,6 +197,7 @@ fn route_request(req: &ScgiRequest) -> Route {
let request_uri = req.headers
.get("REQUEST_URI")
.expect("Misconfigured server didn't send a REQUEST_URI header");
log::debug!("REQUEST_URI: {}", request_uri);
let mut segments: Vec<_> = request_uri
.split("/")
.filter(|s| s.len() > 0)