Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue - gzip'ed content #23

Open
amanas opened this issue Feb 5, 2022 · 1 comment
Open

Not an issue - gzip'ed content #23

amanas opened this issue Feb 5, 2022 · 1 comment

Comments

@amanas
Copy link

amanas commented Feb 5, 2022

Sorry, this is not an issue (I think), just and idea to include.

I am observing that when a service returns a gzip'ed file (javascript in my case), rewrite body is not rewriting the response.

Any chance the plugin to do:
gzip service response -> plugin-rewritebody un-gzip -> plugin-rewritebody rewrite body -> plugin-rewritebody gzip -> and so on...

Sorry not to make a pull request by my own but unfortunately I have no Go knowledge.

Cheers.

@hongbo-miao
Copy link
Contributor

I found https://github.com/packruler/rewrite-body which might help. 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants