encoding gzip , deflate

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
emaxt6
Posts: 18
Joined: Mon Jun 05, 2023 4:02 pm

encoding gzip , deflate

Post 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
Scott Klement
Site Admin
Posts: 872
Joined: Sun Jul 04, 2021 5:12 am

Re: encoding gzip , deflate

Post 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.
Post Reply