This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

সহায়তা খুঁজুন

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

আরও জানুন

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.

All Replies (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.