Skip to content
Myr

Update _client.py (#1300)

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

authored by Tom Christie · committed by GitHub · parent d8050ed · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:httpx/_client.py+1 added-1 removed
463 unmodified lines
464 # Strip Authorization headers when responses are redirected away from465 # the origin.466 headers.pop("Authorization", None)467468 # Remove the Host header, so that a new one with be auto-populated on468 # Remove the Host header, so that a new one will be auto-populated on469 # the request instance.470 headers.pop("Host", None)471472 if method != request.method and method == "GET":
1381 unmodified lines