Skip to content
Myr

make docs accurate that `content=` is also excluded in some requests (#1922)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Simon K · committed by GitHub · parent 15c51b9 · Browse files · 1 file+8 added−8 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Tom Christie <tom@tomchristie.com>

Diff stats

1 file+8 added−8 removed

  • other:+8 added−8 removed

1 file+8 added−8 removed

modified:httpx/_api.py+8 added-8 removed
181 unmodified lines
182 Sends a `GET` request.183184 **Parameters**: See `httpx.request`.185186 Note that the `data`, `files`, and `json` parameters are not available on187 this function, as `GET` requests should not include a request body.186 Note that the `data`, `files`, `json` and `content` parameters are not available187 on this function, as `GET` requests should not include a request body.188 """189 return request(190 "GET",191 url,
28 unmodified lines
220 Sends an `OPTIONS` request.221222 **Parameters**: See `httpx.request`.223224 Note that the `data`, `files`, and `json` parameters are not available on225 this function, as `OPTIONS` requests should not include a request body.224 Note that the `data`, `files`, `json` and `content` parameters are not available225 on this function, as `OPTIONS` requests should not include a request body.226 """227 return request(228 "OPTIONS",229 url,
28 unmodified lines
258 Sends a `HEAD` request.259260 **Parameters**: See `httpx.request`.261262 Note that the `data`, `files`, and `json` parameters are not available on263 this function, as `HEAD` requests should not include a request body.262 Note that the `data`, `files`, `json` and `content` parameters are not available263 on this function, as `HEAD` requests should not include a request body.264 """265 return request(266 "HEAD",267 url,
157 unmodified lines
425 Sends a `DELETE` request.426427 **Parameters**: See `httpx.request`.428429 Note that the `data`, `files`, and `json` parameters are not available on430 this function, as `DELETE` requests should not include a request body.429 Note that the `data`, `files`, `json` and `content` parameters are not available430 on this function, as `DELETE` requests should not include a request body.431 """432 return request(433 "DELETE",434 url,
11 unmodified lines