irigsoft Posted March 8 Share Posted March 8 Hi. How can set Accept-Encoding with more than gzip, deflate There : https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding are more possible values, how can I use them: Accept-Encoding: gzip Accept-Encoding: compress Accept-Encoding: deflate Accept-Encoding: br Accept-Encoding: zstd Accept-Encoding: identity Accept-Encoding: * at least can I add br - Brotli from Google https://eu.siteground.com/blog/brotli-vs-gzip-compression/ "Gzip was originally intended to compress files and has been adapted to compressing streams so it could work on the web. Brotli on the other hand, was designed from the beginning to compress streams. This makes it a better choice for web servers to compress content before streaming it to a browser." https://learn.microsoft.com/en-us/iis/extensions/iis-compression/iis-compression-overview here are some comments from the Embarcadero if that might be helpful: https://blogs.embarcadero.com/flexible-brotli-compression-library-for-your-delphi-c-builder-vcl-and-fmx-apps/ https://stackoverflow.com/questions/60026043/decoding-brotli-in-delphi https://forum.lazarus.freepascal.org/index.php?topic=43211.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.