]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Added missing Request __init__ parameters (#1456)
authorSimon Willison <swillison@gmail.com>
Sun, 7 Feb 2021 03:48:23 +0000 (19:48 -0800)
committerGitHub <noreply@github.com>
Sun, 7 Feb 2021 03:48:23 +0000 (11:48 +0800)
Co-authored-by: Joe <nigelchiang@outlook.com>
docs/api.md

index 817467ec55b15d5e2521e3cbcda44eb9b38f563c..0a5afd1fa9c10246e3e2887d6e2054b8483e2a25 100644 (file)
@@ -97,7 +97,7 @@ what gets sent over the wire.*
 >>> response = client.send(request)
 ```
 
-* `def __init__(method, url, [params], [data], [json], [headers], [cookies])`
+* `def __init__(method, url, [params], [headers], [cookies], [content], [data], [files], [json], [stream])`
 * `.method` - **str**
 * `.url` - **URL**
 * `.content` - **byte**, **byte iterator**, or **byte async iterator**