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
Allow to pass own http_client to ApifyClient and ApifyClientAsync #416
After changing to impit, this no longer seems possible. Setting custom headers is not uncommon and should be supported by the client without any problems.
Now, when they want to change headers, they have to resort to monkeypatching and manipulating private methods, for example:
Activity
Pijukatel commentedon Sep 16, 2025
Previously, when users wanted to create their own headers, they could do something like this:
After changing to
impit, this no longer seems possible. Setting custom headers is not uncommon and should be supported by the client without any problems.Now, when they want to change headers, they have to resort to monkeypatching and manipulating private methods, for example:
feat: Add `headers` argument to allow setting additional user headers (…
feat!: Make HTTP client pluggable with abstract base classes (#641)
docs: add custom HTTP clients concept page and HTTPX guide (#658)