搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Custom accept header is not longer sent

more options

Hello

Since I'm working with a lot of B2B solutions that provide XML or JSON I have used this customer setting in Firefox:

network.http.accept.default;text/html;q=0.9,application/xhtml+xml;q=0.8,application/json;q=0.7,application/xml;q=0.6,*/*;q=0.5

In the inspector under teh network tab I see FF is sending this: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

I'm using FF66.0.2 and this has been working properly before. I can see that the default was changed in release notes, but the documentation still states that one can set this. Why doesn't it work?

I've tried this in safe mode as well. No change.

Hello Since I'm working with a lot of B2B solutions that provide XML or JSON I have used this customer setting in Firefox: network.http.accept.default;text/html;q=0.9,application/xhtml+xml;q=0.8,application/json;q=0.7,application/xml;q=0.6,*/*;q=0.5 In the inspector under teh network tab I see FF is sending this: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 I'm using FF66.0.2 and this has been working properly before. I can see that the default was changed in release notes, but the documentation still states that one can set this. Why doesn't it work? I've tried this in safe mode as well. No change.

所有回复 (1)

more options

That preference was removed from Firefox 66.0; any old value for the preference will be ignored.

I think the only way to change it now will be through an extension. There might already be some specific-purpose extensions that modify the accept header that could be used as a starting point.