From 6fb8da3a529e7b4fea4cb1c52d9be7c3c59f9f27 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 --- netwerk/protocol/http/src/nsHttpChannel.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/netwerk/protocol/http/src/nsHttpChannel.cpp b/netwerk/protocol/http/src/nsHttpChannel.cpp index f9feb272f77..1d769cca5a7 100644 --- a/netwerk/protocol/http/src/nsHttpChannel.cpp +++ b/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