Jump to content

Add new options in Accept-Encoding even in Standalone application


Recommended Posts

Please add, if possible, other web server encoding options like Brotli and/or zstd to speed up compression and loading.

Here's some info if it might be helpful:

https://blogs.embarcadero.com/flexible-brotli-compression-library-for-your-delphi-c-builder-vcl-and-fmx-apps/

There are more different libraries based on different compression algorithms and more modern techniques, for instance, the Brotli – Brotli is similar in speed with deflate but offers more impenetrable compression. Brotli is open-sourced under the MIT License by Google.

 

https://forum.lazarus.freepascal.org/index.php?topic=43211.0

PS: Will Indy support brotli sooner or later?
 


Probably not, at least not anytime soon.  But there is nothing stopping you from implementing your own Compressor class for it, and then use it with TIdHTTP.  And if you get something working, you can always submit it for review for a possible future inclusion.

 

https://stackoverflow.com/questions/60026043/decoding-brotli-in-delphi

I can't speak for ICS, but Indy does not natively support Brotli at this time. But it is possible to manually set TIdHTTP is accept Brotli on HTTP responses if you are prepared to decode the Brotli data manually. 

 

 

Link to comment
Share on other sites

×
×
  • Create New...