mirror of
https://github.com/actix/actix-web.git
synced 2025-03-09 13:01:19 +00:00
If no path is available from the URI request /
This commit is contained in:
parent
08504e0892
commit
38080f67b3
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ impl HttpClientWriter {
|
||||||
// status line
|
// status line
|
||||||
let _ = write!(buffer, "{} {} {:?}\r\n",
|
let _ = write!(buffer, "{} {} {:?}\r\n",
|
||||||
msg.method(),
|
msg.method(),
|
||||||
msg.uri().path_and_query().map(|u| u.as_str()).unwrap_or(""),
|
msg.uri().path_and_query().map(|u| u.as_str()).unwrap_or("/"),
|
||||||
msg.version());
|
msg.version());
|
||||||
|
|
||||||
// write headers
|
// write headers
|
||||||
|
|
Loading…
Reference in a new issue