Added missing Request __init__ parameters (#1456)
Co-authored-by: Joe <nigelchiang@outlook.com>
This commit is contained in:
parent
9542a17831
commit
c52e7d212f
@ -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**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user