mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
backing out some changes that accidentally slipped in!
This commit is contained in:
parent
0db3e3c1eb
commit
ed1914ac3f
@ -982,7 +982,6 @@ nsHttpChannel::ReadFromCache()
|
||||
// server to validate at this time, so just mark the cache entry as
|
||||
// valid in order to allow others access to this cache entry.
|
||||
mCacheEntry->MarkValid();
|
||||
mCacheAccess = nsICache::ACCESS_READ;
|
||||
}
|
||||
|
||||
// if this is a cached redirect, we must process the redirect asynchronously
|
||||
@ -1594,7 +1593,7 @@ nsHttpChannel::PromptForUserPass(const char *host,
|
||||
domain.Append(':');
|
||||
domain.AppendInt(port);
|
||||
|
||||
nsAutoString hostU = NS_ConvertASCIItoUCS2(domain);
|
||||
NS_ConvertASCIItoUCS2 hostU(domain);
|
||||
|
||||
domain.Append(" (");
|
||||
domain.Append(realm);
|
||||
@ -2285,6 +2284,9 @@ nsHttpChannel::GetResponseHeader(const char *header, char **value)
|
||||
NS_IMETHODIMP
|
||||
nsHttpChannel::SetResponseHeader(const char *header, const char *value)
|
||||
{
|
||||
LOG(("nsHttpChannel::SetResponseHeader [this=%x header=\"%s\" value=\"%s\"]\n",
|
||||
this, header, value));
|
||||
|
||||
if (!mResponseHead)
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
nsHttpAtom atom = nsHttp::ResolveAtom(header);
|
||||
|
Loading…
Reference in New Issue
Block a user