Provide .method() and .query_params()

This commit is contained in:
Martin Algesten committed 2021-03-14 09:46:40 +01:00
1 parent c4c1618042
commit 239ba342a2
3 files changed
+88 -46

No files matched your search

+2 -2
View File
@@ -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])"
);
}