René's URL Explorer Experiment


Title: fix: Propagate API token to custom HTTP clients by vdusek · Pull Request #956 · apify/apify-client-python · GitHub

Open Graph Title: fix: Propagate API token to custom HTTP clients by vdusek · Pull Request #956 · apify/apify-client-python

X Title: fix: Propagate API token to custom HTTP clients by vdusek · Pull Request #956 · apify/apify-client-python

Description: Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination. - fix: Propagate API token to custom HTTP clients by vdusek · Pull Request #956 · apify/apify-client-python

Open Graph Description: ApifyClient.with_custom_http_client(token=...) (and the async twin) stored the token on the ApifyClient instance but never passed it to the injected HTTP client, so no request carried an Authorizat...

X Description: ApifyClient.with_custom_http_client(token=...) (and the async twin) stored the token on the ApifyClient instance but never passed it to the injected HTTP client, so no request carried an Authorizat...

Opengraph URL: https://github.com/apify/apify-client-python/pull/956

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:caf44055-a1d5-0315-bc64-cc825cccf1e4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE364:30CC09:2BEDD1A:3B9D88D:6B004FC5
html-safe-noncec550cd186b7b45ec298f0851786af6524c43c1a2d05c72ae428c9191fe2c699e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzY0OjMwQ0MwOToyQkVERDFBOjNCOUQ4OEQ6NkIwMDRGQzUiLCJ2aXNpdG9yX2lkIjoiMjg1OTUwMTQwODI3NTY4MTIyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfa59600a9b605e7423d2b9e5798ac3520b3a8ebfa9d2266dc30be37cc4a93c43
hovercard-subject-tagpull_request:4068920888
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/apify-client-python/956/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a0f3cb90c4a6c94af2d71be2c2ccc7e409e46973365bc1388ec33ba62336e348/apify/apify-client-python/pull/956
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a0f3cb90c4a6c94af2d71be2c2ccc7e409e46973365bc1388ec33ba62336e348/apify/apify-client-python/pull/956
og:image:altApifyClient.with_custom_http_client(token=...) (and the async twin) stored the token on the ApifyClient instance but never passed it to the injected HTTP client, so no request carried an Authorizat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/apify-client-python/pull/956#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F956
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F956
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/pull/956
Reloadhttps://github.com/apify/apify-client-python/pull/956
Reloadhttps://github.com/apify/apify-client-python/pull/956
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/custom-http-client-token-authhttps://github.com/apify/apify-client-python/tree/fix/custom-http-client-token-auth
Conversationhttps://github.com/apify/apify-client-python/pull/956
Commits5 (5)https://github.com/apify/apify-client-python/pull/956/commits
Checkshttps://github.com/apify/apify-client-python/pull/956/checks
Files changedhttps://github.com/apify/apify-client-python/pull/956/files
fix: Propagate API token to custom HTTP clientshttps://github.com/apify/apify-client-python/pull/956#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/custom-http-client-token-authhttps://github.com/apify/apify-client-python/tree/fix/custom-http-client-token-auth
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#issue-4902406692
Claude Codehttps://claude.com/claude-code
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
fix: Propagate API token to custom HTTP clientshttps://github.com/apify/apify-client-python/pull/956/commits/19d2b728458d8981970b54a3f71f914380aff774
19d2b72https://github.com/apify/apify-client-python/pull/956/commits/19d2b728458d8981970b54a3f71f914380aff774
https://github.com/vdusek
vdusekhttps://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#event-28071282772
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#event-28071284144
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
145th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/724
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#event-28071294013
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#event-28071294735
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jul 16, 2026https://github.com/apify/apify-client-python/pull/956#issuecomment-4992370288
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/956?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
a8a393bhttps://app.codecov.io/gh/apify/apify-client-python/commit/a8a393bfcca01c8396b461036a9978fa5b28e6bf?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
d96eb7fhttps://app.codecov.io/gh/apify/apify-client-python/commit/d96eb7f6d14cf1a20dc7d44b52c006dde72747bb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/apify-client-python/pull/956/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
integrationhttps://app.codecov.io/gh/apify/apify-client-python/pull/956/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/apify-client-python/pull/956/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/apify/apify-client-python/pull/956?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
vdusekhttps://github.com/vdusek
July 16, 2026 13:39https://github.com/apify/apify-client-python/pull/956#event-28072372273
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
July 16, 2026 13:40https://github.com/apify/apify-client-python/pull/956#event-28072376230
vdusekhttps://github.com/vdusek
July 16, 2026 15:40https://github.com/apify/apify-client-python/pull/956#commits-pushed-95486e7
https://github.com/vdusek
refactor: Extract default Authorization header setup into a helperhttps://github.com/apify/apify-client-python/pull/956/commits/95486e77bc9788d1982dc67487f6e82322ac4c9c
95486e7https://github.com/apify/apify-client-python/pull/956/commits/95486e77bc9788d1982dc67487f6e82322ac4c9c
https://github.com/vdusek
refactor: Make set_default_authorization on HTTP clients publichttps://github.com/apify/apify-client-python/pull/956/commits/c4aec4930db33bd7c128a715f2ccc9174c28ba55
c4aec49https://github.com/apify/apify-client-python/pull/956/commits/c4aec4930db33bd7c128a715f2ccc9174c28ba55
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Jul 17, 2026 https://github.com/apify/apify-client-python/pull/956#pullrequestreview-4720426032
View reviewed changes https://github.com/apify/apify-client-python/pull/956/files/c4aec4930db33bd7c128a715f2ccc9174c28ba55
src/apify_client/http_clients/_base.pyhttps://github.com/apify/apify-client-python/pull/956/files/c4aec4930db33bd7c128a715f2ccc9174c28ba55#diff-e299e817fdd13a356005d8a840a3a62f25d578cc64f32c1eaebf07f789fa18d8
Pijukatelhttps://github.com/Pijukatel
Jul 17, 2026https://github.com/apify/apify-client-python/pull/956#discussion_r3601290527
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/apify/impit/blob/accab5669aa3c3d8e5dc3adc75c847294eabd104/impit/src/impit.rs#L413https://github.com/apify/impit/blob/accab5669aa3c3d8e5dc3adc75c847294eabd104/impit/src/impit.rs#L413
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
vdusekhttps://github.com/vdusek
Jul 17, 2026https://github.com/apify/apify-client-python/pull/956#discussion_r3602901764
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
refactor: Stop passing default headers to the inner impit clienthttps://github.com/apify/apify-client-python/pull/956/commits/bbde7cc00542a131f472577763a2ff339c2f1919
bbde7cchttps://github.com/apify/apify-client-python/pull/956/commits/bbde7cc00542a131f472577763a2ff339c2f1919
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Jul 17, 2026https://github.com/apify/apify-client-python/pull/956#issuecomment-5003002870
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
fix: Merge HTTP headers case-insensitivelyhttps://github.com/apify/apify-client-python/pull/956/commits/d96eb7f6d14cf1a20dc7d44b52c006dde72747bb
d96eb7fhttps://github.com/apify/apify-client-python/pull/956/commits/d96eb7f6d14cf1a20dc7d44b52c006dde72747bb
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
July 17, 2026 11:56https://github.com/apify/apify-client-python/pull/956#event-28119789365
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Jul 17, 2026 https://github.com/apify/apify-client-python/pull/956#pullrequestreview-4722845569
View reviewed changes https://github.com/apify/apify-client-python/pull/956/files/d96eb7f6d14cf1a20dc7d44b52c006dde72747bb
https://github.com/vdusek
vdusekhttps://github.com/vdusek
ded0852https://github.com/apify/apify-client-python/commit/ded0852ffb420055e04141eb2a46d2766c77f890
Jul 17, 2026https://github.com/apify/apify-client-python/pull/956#event-28122417209
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
vdusekhttps://github.com/vdusek
July 17, 2026 12:59https://github.com/apify/apify-client-python/pull/956#event-28122418406
https://github.co/hiddenchars
https://github.com/apify/apify-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F956
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/apify-client-python/pull/956/files/d96eb7f6d14cf1a20dc7d44b52c006dde72747bb
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
vdusek https://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
145th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/724
Please reload this pagehttps://github.com/apify/apify-client-python/pull/956
https://github.com/vdusek
https://github.com/Pijukatel
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.