-
Notifications
You must be signed in to change notification settings - Fork 162
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
modifyGoogle.js from the examples fails with "Content Encoding Error" #257
Comments
I added ctx.onResponseData(function (ctx, chunk, callback) {
console.log(chunk.toString());
... and it prints this:
So maybe it's the |
I should say I installed only |
Thanks @wawahuy |
Could you please give a short piece of code how to use it? I have the same issue |
Sure! I had the same question :) And also, I've almost finished a standalone proxying script which is using mockttp. I'm gonna upload a fresh version in an hour or two. |
It looks like mockttp depends on a module called vm2 which has a binary, this is not equal replacement as http-mitm-proxy is script only. For me that's important as I'm using webvpack. |
I found the problem, that was so simple, we should take a look on
instead of:
Check |
Ok, I see you're solving a different task. |
Thank you |
I'm using Firefox 99.0 (64-bit) on Linux Kubuntu 20.04
Running the example fails with this error:
![image](https://user-images.githubusercontent.com/114060/166143881-f9fe63a0-e780-45fa-8067-10ae52af8b5c.png)
when I open an URL like this one
Ideas?
The text was updated successfully, but these errors were encountered: