bug 83625, session cookies not getting set, r=alecf, sr=darin, a=asa

This commit is contained in:
morse%netscape.com 2001-06-11 17:20:37 +00:00
parent af04743a83
commit c624f4d4b9

View File

@ -235,7 +235,8 @@ nsCookieHTTPNotify::OnExamineResponse(nsIHttpChannel *aHttpChannel)
// Get the expires
nsXPIDLCString dateHeader;
rv = aHttpChannel->GetResponseHeader("Date", getter_Copies(dateHeader));
if (NS_FAILED(rv)) return rv;
// NS_ERROR_NOT_AVAILABLE is not a fatal error, other errors are
if (NS_FAILED(rv) && rv != NS_ERROR_NOT_AVAILABLE) return rv;
// Ensure that we have the cookie service
rv = SetupCookieService();