Support Brotli decompression
See original GitHub issueSummary
This library doesn’t seem to support a br
content type
Expected Behavior
When receiving a Brotli-compressed response, the library should be able to decompress it exactly the same way as a gzip
response
Current Behavior
It doesn’t make any attempt to decode it.
Context
This is causing problems in higher level apps, i.e. Postman: postmanlabs/postman-app-support#4091
Issue Analytics
- State:
- Created 6 years ago
- Reactions:11
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Brotli-G: An open-source compression/decompression ...
Brotli can be used to compress web application assets such as fonts, javascript, images, and much more. Brotli decompression is supported by ...
Read more >brotli/brotli.md at master · google/brotli - GitHub
brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding ......
Read more >Boosting Site Speed Using Brotli Compression
If your browser supports Brotli (see more info below), we serve Brotli ... Its decompression speed is slightly faster than gzip and Zopfli....
Read more >Brotli Compression: A Fast Alternative to GZIP ... - Kinsta
GZIP compression has been the standard for a long time, but not any more! This post will dissect Brotli compression.
Read more >Introducing Support for Brotli Compression - .NET Blog
Brotli is a relatively new compression algorithm. It's quite beneficial for web clients, with decompression performance comparable to gzip while ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For those of you that are waiting on this, here is a temporary workaround (with fallback to gzip where brotli isn’t available from the server):
Required Modules
https://www.npmjs.com/package/iltorb https://www.npmjs.com/package/patch-package
Diff for patch-package
Example Usage
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.