Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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.

Tất cả các câu trả lời (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.