HeaderEditor icon indicating copy to clipboard operation
HeaderEditor copied to clipboard

[BUG] Headers are not added in responses

Open bflorat opened this issue 1 year ago • 2 comments

BUG I set a response-change header :

image

On any call (initialized from XHR or a static resource GET), this header is absent from the response headers ad displayed in F12 / Network.

规则和测试地址 请提供规则内容和测试地址。

附加信息 Firefox 115.7.0esr (64-bit) Linux

Notes:

  • requests headers work as expected
  • I tested other extensions and I had the same problem, is it a firefox restriction in last versions ? It worked last year with ModHeaders in all cases.
  • it seems that the response header name is lowered (I typed 'FF_...' but it is saved as 'ff_....'). I can't test this because of the absence of the header in the response but if it is actually in lower case, it would cause us issues.

Thanks, KUTGW

bflorat avatar Jun 20 '24 12:06 bflorat

same problem.

huelsgp27 avatar Aug 15 '24 06:08 huelsgp27

Same here, response headers work fine in Chrome but not in Firefox.

medericpdev avatar Oct 14 '24 19:10 medericpdev

Developer tools (including Chrome and Firefox) do not display modified response headers. This result is inaccurate, so please refer to the actual results.

For example, modifying content-type to text/plain can make a webpage display as plain text, indicating that the modification was successful. However, the developer tools still show text/html.

Image

sylingd avatar Sep 03 '25 08:09 sylingd