Loading the puzzle…
The puzzle IDE is built for a laptop or larger screen. You can read everything here, but selecting code is easier with a mouse and a wider window.
In BaseClient._redirect_headers in httpx/_client.py, when a redirect leaves the
original origin, the Authorization header is removed, except when the redirect is
a plain upgrade from http to https. Select the lines of the inner if
statement that makes this exception and removes the header (from that if line
through the line that removes the header).
A range of lines in one file.
Each hint revealed before you solve takes 20 points off this puzzle's score.
Solve this puzzle to see the solution and a full explanation.
Select lines in the editor, then choose Select as answer below the editor.
No lines selected yet.