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 /layout | |
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 'layout')
-rw-r--r-- | layout/style/Loader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/layout/style/Loader.cpp b/layout/style/Loader.cpp index a1a0fcfd9..0ce337e29 100644 --- a/layout/style/Loader.cpp +++ b/layout/style/Loader.cpp @@ -1677,10 +1677,6 @@ Loader::LoadSheet(SheetLoadData* aLoadData, nsCOMPtr<nsIHttpChannel> httpChannel(do_QueryInterface(channel)); if (httpChannel) { - // Send a minimal Accept header for text/css - httpChannel->SetRequestHeader(NS_LITERAL_CSTRING("Accept"), - NS_LITERAL_CSTRING("text/css,*/*;q=0.1"), - false); nsCOMPtr<nsIURI> referrerURI = aLoadData->GetReferrerURI(); if (referrerURI) httpChannel->SetReferrerWithPolicy(referrerURI, |