summaryrefslogtreecommitdiffstats
path: root/dom/xslt
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@wolfbeast.com>2019-03-12 18:29:14 +0100
committerGitHub <noreply@github.com>2019-03-12 18:29:14 +0100
commit709bc24e9110eba12f94cfcb8db00a8338ac4098 (patch)
tree8218d4f60d9eccacbf42df8cb88094a082d401b4 /dom/xslt
parent6b4d81521f0c7bef48a1e8c3e9254a81df27a9d2 (diff)
parent367d77ee9a6df15cacaf1a1f4032f834e972b335 (diff)
downloadUXP-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 'dom/xslt')
-rw-r--r--dom/xslt/xslt/txMozillaStylesheetCompiler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp b/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp
index 726441757..c9bcc31ff 100644
--- a/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp
+++ b/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp
@@ -462,10 +462,6 @@ txCompileObserver::startLoad(nsIURI* aUri, txStylesheetCompiler* aCompiler,
nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(channel));
if (httpChannel) {
- httpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"),
- NS_LITERAL_CSTRING("*/*"),
- false);
-
nsCOMPtr<nsIURI> referrerURI;
aReferrerPrincipal->GetURI(getter_AddRefs(referrerURI));
if (referrerURI) {