Skip to content

fix: strip content-encoding headers in proxy#10

Merged
worlddriven[bot] merged 1 commit intoworlddriven:mainfrom
TooAngel:fix/proxy-content-encoding
Feb 15, 2026
Merged

fix: strip content-encoding headers in proxy#10
worlddriven[bot] merged 1 commit intoworlddriven:mainfrom
TooAngel:fix/proxy-content-encoding

Conversation

@TooAngel
Copy link
Contributor

Summary

  • Fix ERR_CONTENT_DECODING_FAILED errors when proxying larger API responses (e.g. /repositories/)
  • Node's fetch() auto-decompresses responses, but the proxy was forwarding the original content-encoding header, causing browsers to attempt double decompression
  • Strip content-encoding, content-length, and transfer-encoding headers from proxied responses

Test plan

  • Login to webapp and verify /repositories/ loads successfully
  • Verify other API endpoints (user, pull requests) still work

Node's fetch() automatically decompresses responses, but the proxy was
forwarding the original content-encoding header. This caused browsers to
attempt double decompression, resulting in ERR_CONTENT_DECODING_FAILED
for larger responses like the repositories endpoint.
@worlddriven
Copy link

worlddriven bot commented Feb 14, 2026

🤖 Worlddriven Status

📊 Live Status Dashboard

🗓️ Merge Date: 2026-02-15 at 06:05:52 UTC (today)
📅 Started: 2026-02-14 at 06:05:52 UTC
Speed Factor: 0.10 (90% faster due to reviews)
Positive votes: 9/10 contribution weight (coefficient: 0.90)
📈 Base Merge Time: 10 days → Current: 1 days

🎯 Want to influence when this merges?

Your review matters! As a contributor to this project, your voice helps determine the merge timeline.

How to review:

  1. Check the changes
    Files changed

  2. Leave your review
    Review changes

Your options:

  • ✅ Agree & Speed Up: Approve Approving makes this merge faster
  • ❌ Disagree & Slow Down: Request changes Requesting changes delays the merge

💡 Pro tip: The more contributors who agree, the faster this gets merged!

📊 View detailed stats on the dashboard

📋 Recent Activity

2026-02-14, 06:05:59 - Pull request opened
2026-02-15, 06:51:48 - Pull request merged by worlddriven ✅


This comment is automatically updated by worlddriven

@worlddriven worlddriven bot merged commit 57428f0 into worlddriven:main Feb 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant