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

gzipped data support #7

Open
GuillaumeOuint opened this issue Sep 16, 2020 · 4 comments
Open

gzipped data support #7

GuillaumeOuint opened this issue Sep 16, 2020 · 4 comments
Labels
kind/enhancement a new or improved feature.

Comments

@GuillaumeOuint
Copy link

GuillaumeOuint commented Sep 16, 2020

Hello,
This plugin doesn't work on my installation.
Traefik version: v2.3-rc5
Plugin version: v0.2.2
Traefik CLI args:

            - '--experimental.plugins.plugin-rewritebody.modulename=github.com/containous/plugin-rewritebody'
            - '--experimental.plugins.plugin-rewritebody.version=v0.2.2'

Traefik Middleware:

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: rewrite
spec:
  plugin:
    plugin-rewritebody:
      lastModified: true
      rewrites:
        - regex: test
          replacement: working

Thanks in advance.

@GuillaumeOuint
Copy link
Author

Discovered via the test file that this plugin doesn't work on gzip compressed data. My bad, but I think this info need to be on the readme

@youkoulayley
Copy link
Contributor

Hello,

Yes this plugin is not available for gzip for now.
I will add this information to the readme.

Thanks for the report.

@ldez ldez changed the title Simply doesn't work gzipped data support Sep 17, 2020
@ldez ldez added the kind/enhancement a new or improved feature. label Sep 17, 2020
@ptruman
Copy link

ptruman commented Oct 17, 2021

Yes this plugin is not available for gzip for now. I will add this information to the readme.

I had to find that on this page as it's not on the readme ;P

@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
kind/enhancement a new or improved feature.
Projects
None yet
Development

No branches or pull requests

5 participants