-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hi Kyle, how are you?
Thank you very much for develop this package.
This package is a great contribution. I was using a very old package, with no maintenance. My wish was granted!
I'm more than happy to contribute.
Compression Headers reduces the bandwidth required for a request and could benefits the overall performance.
How do you think is the better way to incorporate this feature in your package?
As the package was develop, doRequest return a http.Response. The reader of the response body needs to be decompressed.
This could be easy done using a NewReader like this one NewReader
And requestPayload in addition to content (Content-Type), need to have a additional parameter encoding (Accept-Encoding) to include on request header.
I'll be glad to know your opinion on that.
Docs:
Compression Headers
Metadata
Metadata
Assignees
Labels
Projects
Status