mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 18:55:30 +00:00
bug 81451, bugzilla cookies not getting set, r=valeski, sr=darin, a=blizzard
This commit is contained in:
parent
99ce2721be
commit
2492be606a
@ -1956,7 +1956,12 @@ nsHttpChannel::SetResponseHeader(const char *header, const char *value)
|
||||
nsHttpAtom atom = nsHttp::ResolveAtom(header);
|
||||
if (!atom)
|
||||
return NS_ERROR_NOT_AVAILABLE;
|
||||
return mResponseHead->SetHeader(atom, value);
|
||||
|
||||
nsresult rv = mResponseHead->SetHeader(atom, value);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = nsHttpHandler::get()->OnExamineResponse(this);
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user