From: Tom Christie Date: Wed, 8 May 2019 12:02:32 +0000 (+0100) Subject: Add query_params to URL and Request constructors X-Git-Tag: 0.3.0~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61654591d137bbf57f339a9f79b9df4cf77c9905;p=thirdparty%2Fhttpx.git Add query_params to URL and Request constructors --- diff --git a/README.md b/README.md index c3c35be0..cf92d76f 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ what gets sent over the wire.* >>> response = await client.send(request) ``` -* `def __init__(method, url, content, headers)` +* `def __init__(method, url, query_params, content, headers)` * `.method` - **str** (Uppercased) * `.url` - **URL** * `.content` - **byte** or **byte async iterator** @@ -150,7 +150,7 @@ what gets sent over the wire.* 'example.org' ``` -* `def __init__(url, allow_relative=False)` +* `def __init__(url, allow_relative=False, query_params=None)` * `.scheme` - **str** * `.authority` - **str** * `.host` - **str**