jiacai2050 / gooreplacer

⚡️⚡️A browser extension to modify HTTP requests :-)
https://jiacai2050.github.io/gooreplacer/
1.23k stars 175 forks source link

使用在线规则时不会修改响应头 #120

Open xfqwdsj opened 2 years ago

xfqwdsj commented 2 years ago

从扩展中导出配置,在在线规则中更新之后发现里面的响应头没有修改

使用本地规则是没有问题的

规则配置为修改、正则表达式模式

xfqwdsj commented 2 years ago

附上地址吧

https://raw.githubusercontent.com/xfqwdsj/Wjx-Crack/main/profile.json

jiacai2050 commented 2 years ago

具体是哪条规则没起作用?

xfqwdsj commented 2 years ago

具体是哪条规则没起作用?

响应头的修改呀

jiacai2050 commented 2 years ago

可以给个复现的步骤嘛?包含如下信息

xfqwdsj commented 2 years ago

可以给个复现的步骤嘛?包含如下信息

  • 测试 url,
  • 预期返回 header
  • 实际返回 header

url: https://raw.githubusercontent.com/xfqwdsj/Wjx-Crack/main/jqnew2.js 预期: Content-Type: text/javascript 实际: text/plain

jiacai2050 commented 2 years ago

我已经复现了,不过这个版本应该不好改了,我对这个插件有些新想法,可能过段时间要大改下,类似这里的形式

xfqwdsj commented 2 years ago

好的加油