Provide .method() and .query_params()
This commit is contained in:
@@ -136,7 +136,7 @@ fn request_debug() {
|
||||
|
||||
assert_eq!(
|
||||
s,
|
||||
"Request(GET http://localhost/my/page [], [Authorization: abcdef, \
|
||||
"Request(GET http://localhost/my/page, [Authorization: abcdef, \
|
||||
Content-Length: 1234, Content-Type: application/json])"
|
||||
);
|
||||
|
||||
@@ -148,7 +148,7 @@ fn request_debug() {
|
||||
|
||||
assert_eq!(
|
||||
s,
|
||||
"Request(GET http://localhost/my/page?q=z [(\"foo\", \"bar baz\")], [Authorization: abcdef])"
|
||||
"Request(GET http://localhost/my/page?q=z&foo=bar+baz, [Authorization: abcdef])"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user