Transparent support for Brotli content-encoding.
See original GitHub issueBrotli content-encoding is supported by the major browsers, and it looks like there is pretty good support on the web server side too.
It could be supported transparently like gzip is, so that when OkHttp receives a request with the header Content-Encoding: br
OkHttp uses Brotli decompression transparently.
Brotli content-encoding has reduced our payload size by about 20% for the average response.
Issue Analytics
- State:
- Created 6 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
BrotliInterceptor - OkHttp - Square Open Source
Transparent Brotli response support. Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in responses.
Read more >Brotli Accept-Encoding/Content-Encoding - CanIUse
1 Supported in Chrome and Opera behind the 'Brotli Content-Encoding' flag · 2 Enabled since 27 May 2016 · 3 Support starting with...
Read more >452335 - Support Brotli as a content-encoding method on ...
This launch-owp bug is about making it available as an HTT transfer-encoding method (e.g. Accept-Encoding: Brotli). Advantages of Brotli over gzip: - ...
Read more >Boosting Site Speed Using Brotli Compression
It's designed for text compression and provides a 20%-30% reduction in size compared to gzip. Its encoding speed is generally slower than gzip...
Read more >Brotli compression may not be supported over HTTP ...
br files with HTTP Response Header "Content-Encoding: br". Brotli compression may not be supported over HTTP connections. Migrate your server to ...
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
@swankjesse anything obviously wrong with this impl?
n.b. Consider this particular trivial code as public domain if you want to make a java library on github for it.
https://github.com/yschimke/oksocial/pull/295/files
We shipped this in 4.1!