Bug 1424076 - P1 send Origin headers for all eligible requests r=ckerschb
☠☠ backed out by 91ec3db845b6 ☠ ☠
authorJunior Hsu <juhsu@mozilla.com>
Tue, 09 Jul 2019 18:23:44 +0000
changeset 481977 50fbc0cec01a2c1d7f81d57b391a2592367d2462
parent 481976 5fb0a623158e7005d20517d8b8b8a7a340b58a9c
child 481978 c002ddb976e95cde3a83730f221d9f2d6e90cf02
push id113647
push useraciure@mozilla.com
push dateWed, 10 Jul 2019 09:46:39 +0000
treeherdermozilla-inbound@f3a387c13e2c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckerschb
bugs1424076
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1424076 - P1 send Origin headers for all eligible requests r=ckerschb Differential Revision: https://phabricator.services.mozilla.com/D33380
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1606,17 +1606,17 @@ pref("network.http.referer.XOriginTrimmi
 // 0=always send, 1=send iff base domains match, 2=send iff hosts match
 pref("network.http.referer.XOriginPolicy", 0);
 // The maximum allowed length for a referrer header - 4096 default
 // 0 means no limit.
 pref("network.http.referer.referrerLengthLimit", 4096);
 
 // Include an origin header on non-GET and non-HEAD requests regardless of CORS
 // 0=never send, 1=send when same-origin only, 2=always send
-pref("network.http.sendOriginHeader", 0);
+pref("network.http.sendOriginHeader", 2);
 
 // Maximum number of consecutive redirects before aborting.
 pref("network.http.redirection-limit", 20);
 
 // Enable http compression: comment this out in case of problems with 1.1
 // NOTE: support for "compress" has been disabled per bug 196406.
 // NOTE: separate values with comma+space (", "): see bug 576033
 pref("network.http.accept-encoding", "gzip, deflate");