diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-07 13:05:13 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-07 13:05:13 +0100 |
commit | 15f703d4431c5dbe80239ab55b773110270f2543 (patch) | |
tree | 936ab7615a5ea32f71bb3bab2d8269a28257f689 /dom/xslt | |
parent | 982e255dba31a0ceb46b256d36e73ef2a4cfe6ff (diff) | |
download | uxp-15f703d4431c5dbe80239ab55b773110270f2543.tar.gz |
Remove various hard-coded Accept: headers
Since we're now handling this in the network back-end, there's no
need for this anymore.
Tag mcp-graveyard/UXP#993.
Diffstat (limited to 'dom/xslt')
-rw-r--r-- | dom/xslt/xslt/txMozillaStylesheetCompiler.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp b/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp index 7264417571..c9bcc31ff0 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) { |