Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.