summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-07-24 14:19:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 10:07:20 +0100
commitfec770afd654ffd8f522b7b2c94043b31fc822cb (patch)
treebbd0ee67521e3187f1be51ef8a8e21610dd2a674 /modules
parent4bbe82566c859ff6b1880ddb980767bb3d34efe4 (diff)
downloaduxp-fec770afd654ffd8f522b7b2c94043b31fc822cb.tar.gz
Use proper image http accept header for content negotiation.
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 7295124079..e1536933a0 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -4392,7 +4392,7 @@ pref("image.decode-immediately.enabled", false);
pref("image.downscale-during-decode.enabled", true);
// The default Accept header sent for images loaded over HTTP(S)
-pref("image.http.accept", "*/*");
+pref("image.http.accept", "image/webp,image/png,image/*;q=0.8,*/*;q=0.5");
// The threshold for inferring that changes to an <img> element's |src|
// attribute by JavaScript represent an animation, in milliseconds. If the |src|