From 9b1babf849d8935be1710119c0b6a3e22489edca Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Wed, 23 May 2001 21:47:14 +0000 Subject: [PATCH] bug 81451, bugzilla cookies not getting set, r=valeski, sr=darin, a=blizzard git-svn-id: svn://10.0.0.236/trunk@95831 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp b/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp index f9feb272f77..1d769cca5a7 100644 --- a/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp +++ b/mozilla/netwerk/protocol/http/src/nsHttpChannel.cpp @@ -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