]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add query_params to URL and Request constructors
authorTom Christie <tom@tomchristie.com>
Wed, 8 May 2019 12:02:32 +0000 (13:02 +0100)
committerTom Christie <tom@tomchristie.com>
Wed, 8 May 2019 12:02:32 +0000 (13:02 +0100)
README.md

index c3c35be0da13f970d27d604ee564719a3f0f66c2..cf92d76fee6d95ba564bb7cb07aa6a646a3c6107 100644 (file)
--- 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**