From: Tom Christie Date: Tue, 3 Sep 2019 14:02:40 +0000 (+0100) Subject: White whitespacing X-Git-Tag: 0.7.3~21^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5964b31f11dbd6d4f5d366ffe582afa9bdd345b;p=thirdparty%2Fhttpx.git White whitespacing --- diff --git a/httpx/middleware.py b/httpx/middleware.py index b1aeb216..b14037d4 100644 --- a/httpx/middleware.py +++ b/httpx/middleware.py @@ -151,7 +151,7 @@ class RedirectMiddleware(BaseMiddleware): del headers["Host"] if method != request.method and method == "GET": - #  Strip Content-Length headers when we've switch to a 'GET' request. + # Strip Content-Length headers when we've switch to a 'GET' request. del headers["Content-Length"] return headers