Added missing Request __init__ parameters (#1456)

Co-authored-by: Joe <nigelchiang@outlook.com>
This commit is contained in:
Simon Willison 2021-02-06 19:48:23 -08:00 committed by GitHub
parent 9542a17831
commit c52e7d212f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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**