diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2019-03-12 18:29:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-12 18:29:14 +0100 |
commit | 709bc24e9110eba12f94cfcb8db00a8338ac4098 (patch) | |
tree | 8218d4f60d9eccacbf42df8cb88094a082d401b4 /modules/libpref | |
parent | 6b4d81521f0c7bef48a1e8c3e9254a81df27a9d2 (diff) | |
parent | 367d77ee9a6df15cacaf1a1f4032f834e972b335 (diff) | |
download | UXP-709bc24e9110eba12f94cfcb8db00a8338ac4098.tar UXP-709bc24e9110eba12f94cfcb8db00a8338ac4098.tar.gz UXP-709bc24e9110eba12f94cfcb8db00a8338ac4098.tar.lz UXP-709bc24e9110eba12f94cfcb8db00a8338ac4098.tar.xz UXP-709bc24e9110eba12f94cfcb8db00a8338ac4098.zip |
Merge pull request #995 from MoonchildProductions/httpaccept-work
Change the way http Accept: headers are used.
Diffstat (limited to 'modules/libpref')
-rw-r--r-- | modules/libpref/init/all.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 3666ca425..4111ca8a9 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1474,7 +1474,10 @@ pref("network.http.request.max-start-delay", 10); pref("network.http.request.max-attempts", 10); // Headers -pref("network.http.accept.default", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"); +pref("network.http.accept.default", "*/*"); +pref("network.http.accept.navigation", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"); +pref("network.http.accept.image", "image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5"); +pref("network.http.accept.style", "text/css,*/*;q=0.1"); // Prefs allowing granular control of referers // 0=don't send any, 1=send only on clicks, 2=send on image requests as well |