plugin-rewritebody
plugin-rewritebody copied to clipboard
gzipped data support
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.
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
Hello,
Yes this plugin is not available for gzip for now. I will add this information to the readme.
Thanks for the report.
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
I found https://github.com/packruler/rewrite-body which might help. 😊