From: Joe Date: Thu, 20 Aug 2020 09:03:20 +0000 (+0800) Subject: Cleanup docstring leftover for #1183 (#1201) X-Git-Tag: 0.14.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd8165a1b19b8775c670b6a3b1ce87c666cfbabd;p=thirdparty%2Fhttpx.git Cleanup docstring leftover for #1183 (#1201) Co-authored-by: Tom Christie --- diff --git a/httpx/_api.py b/httpx/_api.py index 2a59291e..9b130ea4 100644 --- a/httpx/_api.py +++ b/httpx/_api.py @@ -235,9 +235,7 @@ def head( **Parameters**: See `httpx.request`. Note that the `data`, `files`, and `json` parameters are not available on - this function, as `HEAD` requests should not include a request body. The - `HEAD` method also differs from the other cases in that `allow_redirects` - defaults to `False`. + this function, as `HEAD` requests should not include a request body. """ return request( "HEAD",