Document compatibility difference for get, delete, head, and options (#418)
This commit is contained in:
parent
9e1cc26f8a
commit
85fa89c49c
@ -13,6 +13,7 @@ to the API in our own documentation. The following exceptions apply:
|
||||
* `httpx.codes` - In our documentation we prefer the uppercased versions, such as `codes.NOT_FOUND`,
|
||||
but also provide lower-cased versions for API compatibility with `requests`.
|
||||
* `stream=True`. - Streaming responses provide the `.stream()` and `.raw()` byte iterator interfaces, rather than the `.iter_content()` method and the `.raw` socket interface.
|
||||
* `.get`, `.delete`, `.head`, `.options` - These methods do not support `files`, `data`, or `json` arguments. Use `.request` if you need to need to send data using these http methods.
|
||||
|
||||
## Advanced Usage
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user