Skip to content

Commit

Permalink
no peeking at private attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
glyph committed Jun 18, 2024
1 parent 7ab4927 commit fc145a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/treq/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def _on_401_response(
does not support Digest auth
"""
www_authenticate_header_string = (
www_authenticate_response.headers._rawHeaders.get(
www_authenticate_response.headers.getRawHeaders(
b"www-authenticate", [b""]
)[0]
)
Expand Down

0 comments on commit fc145a4

Please sign in to comment.