REQUEST_URL debug log message
Signed-off-by: Sashanoraa <ben@benaaron.dev>
This commit is contained in:
parent
57e1b5c85b
commit
4cef709f52
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue