This commit is contained in:
ruslan%netscape.com 2000-05-03 00:33:20 +00:00
Родитель 31e8b8444e
Коммит 9abfac20be
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -820,7 +820,9 @@ nsHTTPChannel::CheckCache()
// For now, we handle only GET and HEAD requests
nsCOMPtr<nsIAtom> httpMethod;
httpMethod = mRequest->GetMethod();
if ((httpMethod != nsHTTPAtoms::Get) && (httpMethod != nsHTTPAtoms::Head))
nsIAtom *mP = httpMethod;
if ((mP != nsHTTPAtoms::Get) && (mP != nsHTTPAtoms::Head))
return NS_OK;
// If this is the first time we've been called for this channel,