Closed willis7 closed 4 years ago
Thanks for the suggestion. I'll look into how easy/feasible this is once I have a bit of time leftover :)
@willis7 I don't know if you still need the feature, but what do you need exactly?
Is it to only set the request Accept-Encoding
header to gzip
and let your client gunzip the body content?
If yes, that is pretty simple to implement as we can mimic the net/http.Transport behavior.
Tell us.
Hi @maxatome, I have not use httpmock in a while. I will close this issue for completeness.
Some API's return GZip compressed responses. This would be a really useful feature to support.