the ZSend()-like methods aren't intuitive, so it would be nice some algorithm which could decide automatically to compress the response based in the client's Accept-Encoding header, or at least something like this:
begin
AResponse.Compressed := True;
AResponse.Send(... Params ...);
...
Hello,
the
ZSend()
-like methods aren't intuitive, so it would be nice some algorithm which could decide automatically to compress the response based in the client'sAccept-Encoding
header, or at least something like this:or, in a more global way:
Thanks!