Maurenz2530
Maurenz2530
I prepared a focused fix for the unanchored Windows ProxyOverride match. Exact entries still match and wildcard entries remain supported, while suffix hosts such as google.com.evil.com no longer bypass the...
I implemented the focused fix in my fork: invalid ASCII header values now include the header name in the existing UnicodeEncodeError, with coverage for mapping and iterable inputs. Branch: https://github.com/Maurenz2530/httpx/tree/improve-header-encoding-error....
The branch is ready for review: https://github.com/Maurenz2530/httpx/tree/improve-header-encoding-error. GitHub's PR API does not allow my account to create the upstream PR, so the direct comparison page is: https://github.com/encode/httpx/compare/master...Maurenz2530:improve-header-encoding-error