question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Avoid gzipping RSS feed unless requested

See original GitHub issue

Browsers should send Accept-Encoding: gzip in which case it’s okay to gzip, but there’s at least one RSS reader that chokes on gzipped XML: https://twitter.com/xarph/status/1486955535110848515

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mollycommented, May 17, 2022

Not really—feel free to take a stab at it! I think it’s a next.js thing.

1reaction
dzmitry-kankalovichcommented, Feb 4, 2022

Hit the same problem and was breaking my head over it.

The RSS endpoint breaks protocol by sending gzip unconditionally

Simple test:

# this works
curl https://web3isgoinggreat.com/feed.xml --compressed
# this timeouts
curl https://web3isgoinggreat.com/feed.xml
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I prevent GAE from ungzipping a gzipped xml feed?
I have a script on GAE that requests an XML feed from a partner that's typically 40MB but only 5MB gzipped. GAE is...
Read more >
Gzip only request body of HTTPS request security BREACH?
I was wondering, though, would that defeat the purpose of avoiding GZIP at all? Is it possible I re-introduced the same vulnerability mentioned ......
Read more >
Is it possible to enable http compression for requests?
To PUT data to the server compressed you must compress the request body and set the Content-Encoding: gzip header. The header itself must...
Read more >
How can I prevent Knox from modifying gzipped file...
However, whenever I download/get the file back via Knox gateway, if the file is gzip compressed, it is modified. The chksum and size...
Read more >
Solved: How to Disable http response gzip encoding
Also, I put the Accept-Encoding: identity in the request header. Still no luck. No matter what I do, the response is gzip compressed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found