mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 22:08:40 +09:00
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 #993.
This commit is contained in:
parent
c8412ad501
commit
9bcb7ab2a5
3 changed files with 0 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue