Jump to content

Is it possible to set on StandAlone application - Accept-Encoding:gzip, deflate, br, zstd


irigsoft

Recommended Posts

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

 

Link to comment
Share on other sites

  • irigsoft changed the title to Is it possible to set on StandAlone application - Accept-Encoding:gzip, deflate, br, zstd

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...