René's URL Explorer Experiment


Title: fix: Respect caller-supplied Content-Encoding for pre-compressed request bodies by vdusek · Pull Request #997 · apify/apify-client-python · GitHub

Open Graph Title: fix: Respect caller-supplied Content-Encoding for pre-compressed request bodies by vdusek · Pull Request #997 · apify/apify-client-python

X Title: fix: Respect caller-supplied Content-Encoding for pre-compressed request bodies by vdusek · Pull Request #997 · 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: Respect caller-supplied Content-Encoding for pre-compressed request bodies by vdusek · Pull Request #997 · apify/apify-client-python

Open Graph Description: A caller-supplied Content-Encoding now marks the request body as already encoded, so the client forwards it untouched instead of dropping the header (since #987) or overwriting it (before #987). Ho...

X Description: A caller-supplied Content-Encoding now marks the request body as already encoded, so the client forwards it untouched instead of dropping the header (since #987) or overwriting it (before #987). Ho...

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

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:0bf24f4b-e0dd-ea69-ffa3-39b8229b7818
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF74:2FF516:C9AEF2:10ECC79:6B004FAF
html-safe-noncedda46c63ada20a7c43ab1f94aac246447ac98940641c7444cfc199932e040f32
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjc0OjJGRjUxNjpDOUFFRjI6MTBFQ0M3OTo2QjAwNEZBRiIsInZpc2l0b3JfaWQiOiIyMDE1NTI1OTYzNjUxMTA4NzgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5259272baaa023120408120f5bb891d89b360c14341a8aa0dbd03ac8b2647cb5
hovercard-subject-tagpull_request:4195808404
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/997/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/586b7ba38c643a8d50405a7a516e3681b61e6082bee51809d6b6a8bf98a41179/apify/apify-client-python/pull/997
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/586b7ba38c643a8d50405a7a516e3681b61e6082bee51809d6b6a8bf98a41179/apify/apify-client-python/pull/997
og:image:altA caller-supplied Content-Encoding now marks the request body as already encoded, so the client forwards it untouched instead of dropping the header (since #987) or overwriting it (before #987). Ho...
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/997#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F997
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%2F997
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/997
Reloadhttps://github.com/apify/apify-client-python/pull/997
Reloadhttps://github.com/apify/apify-client-python/pull/997
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
feat/caller-content-encoding-996https://github.com/apify/apify-client-python/tree/feat/caller-content-encoding-996
Conversationhttps://github.com/apify/apify-client-python/pull/997
Commits5 (5)https://github.com/apify/apify-client-python/pull/997/commits
Checkshttps://github.com/apify/apify-client-python/pull/997/checks
Files changedhttps://github.com/apify/apify-client-python/pull/997/files
fix: Respect caller-supplied Content-Encoding for pre-compressed request bodieshttps://github.com/apify/apify-client-python/pull/997#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
feat/caller-content-encoding-996https://github.com/apify/apify-client-python/tree/feat/caller-content-encoding-996
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#issue-5051573319
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
#987https://github.com/apify/apify-client-python/pull/987
#987https://github.com/apify/apify-client-python/pull/987
perf: Skip request-body compression for already-compressed content types #987https://github.com/apify/apify-client-python/pull/987
perf: Skip request-body compression for small payloads #988https://github.com/apify/apify-client-python/pull/988
perf: Skip request-body compression for already-compressed content types #987https://github.com/apify/apify-client-python/pull/987
fix: Read file-like KVS values before upload and reject unencodable ones #965https://github.com/apify/apify-client-python/pull/965
#996https://github.com/apify/apify-client-python/issues/996
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
https://github.com/vdusek
fix: Respect caller-supplied Content-Encoding for pre-compressed requ…https://github.com/apify/apify-client-python/pull/997/commits/8c0f0a682f89d72c62ffbd699a033e5e57e8714f
8c0f0a6https://github.com/apify/apify-client-python/pull/997/commits/8c0f0a682f89d72c62ffbd699a033e5e57e8714f
https://github.com/vdusek
vdusekhttps://github.com/vdusek
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#event-28897824395
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#event-28897825423
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
146th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/725
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#event-28897834821
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
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#event-28897835608
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#issuecomment-5168546948
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/997?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
6bd31b2https://app.codecov.io/gh/apify/apify-client-python/commit/6bd31b2abb840ea9af1efc98bf984c85b8510ce3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
de805efhttps://app.codecov.io/gh/apify/apify-client-python/commit/de805efcd06fc98b1717a676042a9cc28b31442f?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/997/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/997/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/997/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/997?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/997
https://github.com/vdusek
docs: Fix the file-like value claim in the HTTP compression guidehttps://github.com/apify/apify-client-python/pull/997/commits/f981ff290e287fd549cab7ddb2ad0df648ead38b
f981ff2https://github.com/apify/apify-client-python/pull/997/commits/f981ff290e287fd549cab7ddb2ad0df648ead38b
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Mantisushttps://github.com/Mantisus
August 3, 2026 16:10https://github.com/apify/apify-client-python/pull/997#event-28899389558
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 3, 2026 16:10https://github.com/apify/apify-client-python/pull/997#event-28899392153
https://github.com/vdusek
vdusekhttps://github.com/vdusek
szaganekhttps://github.com/szaganek
code ownerhttps://github.com/apify/apify-client-python/blob/3c157368b45c869d597017aa57b6262b2b95c22d/.github/CODEOWNERS#L4
August 3, 2026 16:10https://github.com/apify/apify-client-python/pull/997#event-28899392817
https://github.com/Mantisus
Mantisushttps://github.com/Mantisus
Aug 3, 2026 https://github.com/apify/apify-client-python/pull/997#pullrequestreview-4846603131
View reviewed changes https://github.com/apify/apify-client-python/pull/997/files/f981ff290e287fd549cab7ddb2ad0df648ead38b
Mantisushttps://github.com/Mantisus
https://github.com/apify/apify-client-python/pull/997#pullrequestreview-4846603131
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
src/apify_client/_resource_clients/key_value_store.pyhttps://github.com/apify/apify-client-python/pull/997/files/f981ff290e287fd549cab7ddb2ad0df648ead38b#diff-5073fae940e98fef7d01fe81df44f39a8819886c436811d4fd2d65ff7bfba776
Mantisushttps://github.com/Mantisus
Aug 3, 2026https://github.com/apify/apify-client-python/pull/997#discussion_r3706044142
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
https://github.com/vdusek
vdusekhttps://github.com/vdusek
B4nanhttps://github.com/B4nan
August 4, 2026 09:51https://github.com/apify/apify-client-python/pull/997#event-28940431333
https://github.com/B4nan
B4nanhttps://github.com/B4nan
Aug 4, 2026 https://github.com/apify/apify-client-python/pull/997#pullrequestreview-4852890952
View reviewed changes https://github.com/apify/apify-client-python/pull/997/files/f981ff290e287fd549cab7ddb2ad0df648ead38b
vdusekhttps://github.com/vdusek
August 4, 2026 12:55https://github.com/apify/apify-client-python/pull/997#commits-pushed-51ea158
https://github.com/vdusek
fix: Reject a declared compression for a value that cannot carry onehttps://github.com/apify/apify-client-python/pull/997/commits/51ea1587697725408183b255f2debdc622108afa
51ea158https://github.com/apify/apify-client-python/pull/997/commits/51ea1587697725408183b255f2debdc622108afa
https://github.com/vdusek
test: Rename the incompressible-value cases to satisfy the spell checkhttps://github.com/apify/apify-client-python/pull/997/commits/a701e833242efb3d9b65c2ce2d18f6fae45aaaf6
a701e83https://github.com/apify/apify-client-python/pull/997/commits/a701e833242efb3d9b65c2ce2d18f6fae45aaaf6
https://github.com/vdusek
test: Add an integration test for uploading a pre-compressed KVS recordhttps://github.com/apify/apify-client-python/pull/997/commits/de805efcd06fc98b1717a676042a9cc28b31442f
de805efhttps://github.com/apify/apify-client-python/pull/997/commits/de805efcd06fc98b1717a676042a9cc28b31442f
https://github.com/vdusek
vdusekhttps://github.com/vdusek
b5541c9https://github.com/apify/apify-client-python/commit/b5541c919923f69d537b4062e21c1f3c46396c7a
Aug 4, 2026https://github.com/apify/apify-client-python/pull/997#event-28945791490
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 4, 2026 11:39https://github.com/apify/apify-client-python/pull/997#event-28945793206
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%2F997
https://github.com/B4nan
B4nan https://github.com/B4nan
https://github.com/apify/apify-client-python/pull/997/files/f981ff290e287fd549cab7ddb2ad0df648ead38b
https://github.com/szaganek
szaganek https://github.com/szaganek
https://github.com/Mantisus
Mantisus https://github.com/Mantisus
https://github.com/apify/apify-client-python/pull/997/files/f981ff290e287fd549cab7ddb2ad0df648ead38b
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
https://github.com/vdusek
vdusek https://github.com/vdusek
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
146th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/725
Support caller-supplied Content-Encoding for pre-compressed request bodies https://github.com/apify/apify-client-python/issues/996
Please reload this pagehttps://github.com/apify/apify-client-python/pull/997
https://github.com/vdusek
https://github.com/B4nan
https://github.com/Mantisus
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.