Skip to content

feat(python): add per-request redirect options - #614

Merged
barjin merged 3 commits into
masterfrom
feat/per-request-redirects
Nov 11, 2026
Merged

barjin merged 3 commits into
masterfrom
feat/per-request-redirects

Conversation

@barjin

@barjin barjin commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Redirects are now followed by impit instead of reqwest, so every request method takes follow_redirects and max_redirects (closes #603).

Redirects are followed by impit instead of reqwest, so they can be configured per request and the hooks can run on every hop.
@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Nov 10, 2026
@apify-service-account apify-service-account added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 10, 2026
@barjin barjin changed the title feat(python): add per-request redirect options and event hooks feat(python): add per-request redirect options Nov 10, 2026
@barjin
barjin requested review from Pijukatel and vdusek November 10, 2026 15:56

@vdusek vdusek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks

@vdusek vdusek left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and one optional comment from Claude

Comment thread impit-python/python/impit/impit.pyi Resolved
Co-authored-by: Vlada Dusek <v.dusek96@gmail.com>
@barjin
barjin merged commit aa971fc into master Nov 11, 2026
38 checks passed
@barjin
barjin deleted the feat/per-request-redirects branch November 11, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redirect handling parity with httpx: per-request follow_redirects and event hooks

3 participants