You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 175382d
Browse filesBrowse the repository at this point in the historyBrowse files
`ProxyError` was classified as permanently non-retryable, so a proxy answering CONNECT with a transient
status (502, 503, 429) failed on the first attempt instead of being retried, as it was before.
Other changes from the same review pass:
- Rename `_send_request` to `send_request` and `_is_retryable_transport_error` to
`is_retryable_transport_error`, so the whole documented transport contract is public.
- Drop the no-op hook overrides from the custom-client docs examples and the test doubles, and drop the
pass-through `LogClient._is_timeout_error`.
- Derive the expected `Accept-Encoding` from HTTPX instead of hard-coding whichever codecs are installed.
- Build `__all__` as one literal per branch, so RUF022 keeps checking it.
- Assert the HTTPX no-timeout mapping through the real `build_request` rather than through a mock.
0 commit comments