mirror of
https://github.com/actix/actix-web.git
synced 2025-02-01 03:42:21 +00:00
Merge pull request #121 from glademiller/master
Send Query Parameters in client requests
This commit is contained in:
commit
8a50eae1e2
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ impl HttpClientWriter {
|
|||
|
||||
// status line
|
||||
let _ = write!(buffer, "{} {} {:?}\r\n",
|
||||
msg.method(), msg.uri().path(), msg.version());
|
||||
msg.method(),
|
||||
msg.uri().path_and_query().map(|u| u.as_str()).unwrap_or("/"),
|
||||
msg.version());
|
||||
|
||||
// write headers
|
||||
for (key, value) in msg.headers() {
|
||||
|
|
Loading…
Reference in a new issue