René's URL Explorer Experiment


Title: Support deflate request encoding in HC5 by kmdy7991 · Pull Request #3464 · OpenFeign/feign · GitHub

Open Graph Title: Support deflate request encoding in HC5 by kmdy7991 · Pull Request #3464 · OpenFeign/feign

X Title: Support deflate request encoding in HC5 by kmdy7991 · Pull Request #3464 · OpenFeign/feign

Description: Spring Cloud OpenFeign request compression can add Content-Encoding: gzip,deflate. feign-hc5 currently rejects any request that includes deflate, so the request fails before it is sent. This removes the unconditional rejection and adds request deflate support in HC5. The sync client uses Apache HttpClient 5's DeflateCompressingEntity; the async client compresses the simple request body bytes directly. When both gzip and deflate are present, gzip remains the effective encoding, matching Feign's existing default client precedence. The same error was reproduced in Spring Cloud OpenFeign versions 4.1.2, 4.1.5, and 5.0.2 prior to the modification. After applying the feign-hc5 changes, we confirmed that the same application is working correctly. Tests: ./mvnw -Pdev -pl hc5 -Dtest=DeflateHttp5ClientTest,GzipHttp5ClientTest,AsyncApacheHttp5ClientTest test ./mvnw -Pdev -pl hc5 -am clean test Fixes #2460

Open Graph Description: Spring Cloud OpenFeign request compression can add Content-Encoding: gzip,deflate. feign-hc5 currently rejects any request that includes deflate, so the request fails before it is sent. This remove...

X Description: Spring Cloud OpenFeign request compression can add Content-Encoding: gzip,deflate. feign-hc5 currently rejects any request that includes deflate, so the request fails before it is sent. This remove...

Opengraph URL: https://github.com/OpenFeign/feign/pull/3464

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files/:range(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5ce6cd88-6c26-6ed0-d164-78ce862d2c84
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC43E:1BE497:442F0D:5EA60E:6AEDB68D
html-safe-nonce872a63c5ec9ca57c08d741ad6f289d357f8a7f112af4d7a859bb84050ced18e5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDNFOjFCRTQ5Nzo0NDJGMEQ6NUVBNjBFOjZBRURCNjhEIiwidmlzaXRvcl9pZCI6IjEyMTIzMTMxMzQ1MDg2NTIxNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfe495ad258778ff5a3786a5999e19786d66fd323116dbd98e2c09699efe83a9c
hovercard-subject-tagpull_request:3975261988
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
twitter:imagehttps://avatars.githubusercontent.com/u/108215226?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/108215226?s=400&v=4
og:image:altSpring Cloud OpenFeign request compression can add Content-Encoding: gzip,deflate. feign-hc5 currently rejects any request that includes deflate, so the request fails before it is sent. This remove...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None1eb5f7cedbc707472687eab1a30e6c4619c00791815622ceaba9694eb161930f
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/OpenFeign/feign git https://github.com/OpenFeign/feign.git
octolytics-dimension-user_id20077752
octolytics-dimension-user_loginOpenFeign
octolytics-dimension-repository_id10981994
octolytics-dimension-repository_nwoOpenFeign/feign
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id10981994
octolytics-dimension-repository_network_root_nwoOpenFeign/feign
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef31f9c89203c022acdb651c34ae048cf41764208
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FOpenFeign%2Ffeign%2Fpull%2F3464%2Ffiles%2F9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
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%2FOpenFeign%2Ffeign%2Fpull%2F3464%2Ffiles%2F9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=OpenFeign%2Ffeign
Reloadhttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Reloadhttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Reloadhttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
OpenFeignhttps://github.com/OpenFeign
feignhttps://github.com/OpenFeign/feign
Codehttps://github.com/OpenFeign/feign
Issues209 (209)https://github.com/OpenFeign/feign/issues
Pull requests26 (26)https://github.com/OpenFeign/feign/pulls
Actionshttps://github.com/OpenFeign/feign/actions
Projectshttps://github.com/OpenFeign/feign/projects
Wikihttps://github.com/OpenFeign/feign/wiki
Security and qualityhttps://github.com/OpenFeign/feign/security
Insightshttps://github.com/OpenFeign/feign/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FOpenFeign%2Ffeign%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FOpenFeign%2Ffeign%2Fissues%2Fnew%2Fchoose
velohttps://github.com/velo
OpenFeign:masterhttps://github.com/OpenFeign/feign/tree/master
kmdy7991:fix/hc5-deflate-request-encodinghttps://github.com/kmdy7991/feign/tree/fix/hc5-deflate-request-encoding
Conversation 0 https://github.com/OpenFeign/feign/pull/3464
Commits 2 https://github.com/OpenFeign/feign/pull/3464/commits
Checks 0 https://github.com/OpenFeign/feign/pull/3464/checks
Files changed https://github.com/OpenFeign/feign/pull/3464/files
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Support deflate request encoding in HC5 https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#top
Show all changes 2 commits https://github.com/OpenFeign/feign/pull/3464/files
913b8de support deflate request encoding in HC5 kmdy7991 Jul 2, 2026 https://github.com/OpenFeign/feign/pull/3464/commits/913b8dee6117172815a0b219416ffcf7c20dac7f
9e11fbc Merge branch 'master' into fix/hc5-deflate-request-encoding kmdy7991 Jul 2, 2026 https://github.com/OpenFeign/feign/pull/3464/commits/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Clear filters https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
Please reload this pagehttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1
ApacheHttp5Client.java https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
AsyncApacheHttp5Client.java https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
AsyncApacheHttp5ClientTest.java https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
DeflateHttp5ClientTest.java https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-d2ee9cf861907973b6f36f7743a6554df0641d929c4e3fa17c6906995bc14a4d
GzipHttp5ClientTest.java https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b77ca0acf3e95b95baa40e4077f4083747161b4a93a90c97ac636fc38f7b9750
hc5/src/main/java/feign/hc5/ApacheHttp5Client.javahttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
View file https://github.com/kmdy7991/feign/blob/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1/hc5/src/main/java/feign/hc5/ApacheHttp5Client.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3464/files/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-59138dfbedc3bab559279636023d8b720d860af40de5f2ee43aeabdcb7a21cd4
hc5/src/main/java/feign/hc5/AsyncApacheHttp5Client.javahttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
View file https://github.com/kmdy7991/feign/blob/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1/hc5/src/main/java/feign/hc5/AsyncApacheHttp5Client.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3464/files/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b022361e1bf26cf20950cb5a72955f35030384638a15ee96ccf5ad531415989f
hc5/src/test/java/feign/hc5/AsyncApacheHttp5ClientTest.javahttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
View file https://github.com/kmdy7991/feign/blob/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1/hc5/src/test/java/feign/hc5/AsyncApacheHttp5ClientTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3464/files/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-fdcfff1c30036c18c3818ab29a4935951688193783791f94fd4e519f655cf050
hc5/src/test/java/feign/hc5/DeflateHttp5ClientTest.javahttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-d2ee9cf861907973b6f36f7743a6554df0641d929c4e3fa17c6906995bc14a4d
View file https://github.com/kmdy7991/feign/blob/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1/hc5/src/test/java/feign/hc5/DeflateHttp5ClientTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3464/files/{{ revealButtonHref }}
hc5/src/test/java/feign/hc5/GzipHttp5ClientTest.javahttps://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b77ca0acf3e95b95baa40e4077f4083747161b4a93a90c97ac636fc38f7b9750
View file https://github.com/kmdy7991/feign/blob/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1/hc5/src/test/java/feign/hc5/GzipHttp5ClientTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/OpenFeign/feign/pull/3464/files/{{ revealButtonHref }}
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b77ca0acf3e95b95baa40e4077f4083747161b4a93a90c97ac636fc38f7b9750
https://github.com/OpenFeign/feign/pull/3464/files/9e11fbc378da44c3a96eca80bbdf8f74ecc77cc1#diff-b77ca0acf3e95b95baa40e4077f4083747161b4a93a90c97ac636fc38f7b9750
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.