mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Part 1: network component changes.
This commit is contained in:
parent
59ee48bfb0
commit
c8412ad501
8 changed files with 104 additions and 20 deletions
|
|
@ -151,7 +151,8 @@ HttpBaseChannel::Init(nsIURI *aURI,
|
|||
nsProxyInfo *aProxyInfo,
|
||||
uint32_t aProxyResolveFlags,
|
||||
nsIURI *aProxyURI,
|
||||
const nsID& aChannelId)
|
||||
const nsID& aChannelId,
|
||||
nsContentPolicyType aContentPolicyType)
|
||||
{
|
||||
LOG(("HttpBaseChannel::Init [this=%p]\n", this));
|
||||
|
||||
|
|
@ -200,7 +201,7 @@ HttpBaseChannel::Init(nsIURI *aURI,
|
|||
rv = mRequestHead.SetHeader(nsHttp::Host, hostLine);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
rv = gHttpHandler->AddStandardRequestHeaders(&mRequestHead, isHTTPS);
|
||||
rv = gHttpHandler->AddStandardRequestHeaders(&mRequestHead, isHTTPS, aContentPolicyType);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
nsAutoCString type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue