bug 1037082 - part 2/3 407 proxy auth for http over https r=hurley

This commit is contained in:
Patrick McManus 2014-06-24 16:52:48 -04:00
parent 6f428945a1
commit f7fb5be373

View File

@ -48,7 +48,7 @@ private:
bool UsingSSL() const { return mUsingSSL; }
bool UsingHttpProxy() const
{ return !!(mProxyInfo && !nsCRT::strcmp(mProxyInfo->Type(), "http")); }
{ return mProxyInfo && (mProxyInfo->IsHTTP() || mProxyInfo->IsHTTPS()); }
nsresult PrepareForAuthentication(bool proxyAuth);
nsresult GenCredsAndSetEntry(nsIHttpAuthenticator *, bool proxyAuth,