Page 1 of 1

encoding gzip , deflate

Posted: Mon Mar 17, 2025 12:14 pm
by emaxt6
Hello,
being HTTP used a lot to carry around a lot of redundant text in webservices calls, given the eventual benefits,
does HTTPAPI supports on the fly de/compression of the text payload, offloading to some api, or via filter/hooks possibility?

i.e. Accept-Encoding: gzip,deflate

seems commonly supported nowadays due to the savings due to high compressibility of xml or json.


thanks

Re: encoding gzip , deflate

Posted: Tue Mar 25, 2025 3:41 am
by Scott Klement
No, HTTPAPI does not have anything like that built-in. I have never had a need for it myself.

If you decide to add it, please consider contributing it back to the project.