Uh oh!
There was an error while loading. Please reload this page.
feat: Add HTTPX-based HTTP client - #1004
Draft
vdusek wants to merge 1 commit into
Draft
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #1004 +/- ##
==========================================
+ Coverage 94.96% 95.01% +0.05%
==========================================
Files 58 59 +1 Lines 5438 5501 +63 ==========================================
+ Hits 5164 5227 +63
Misses 274 274
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Aug 19, 2026
vdusek
marked this pull request as ready for review
August 19, 2026 07:07
vdusek
marked this pull request as draft
August 19, 2026 07:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
HttpxHttpClient/HttpxHttpClientAsyncas built-in alternatives to the default Impit transport, behind an optional extra:pip install "apify-client[httpx]". Impit stays the default.Stacked on #1022, whose shared request pipeline the adapters plug into: they implement only the transport hooks (
send_request,is_retryable_transport_error,is_timeout_error,close()/aclose()) and apply the same retry policy as Impit — every error from the library's own hierarchy is transient except the permanently-failing types. A response event hook keeps HTTPX's shared cookie jar from leaking server cookies into later API requests. Unit tests run the built-in client matrix (Impit + HTTPX) through the parametrized fixtures.Stack: #1022 (pipeline) → #1004 (this) → #1013 (docs).
✍️ Drafted by Claude Code