Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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.

Toutes les réponses (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.