fix for bug 83611 - download dialog pops when text/html offered instead of page load, r=gagan, sr=darin, a=chofmann.

This commit is contained in:
neeti%netscape.com 2001-06-07 12:45:03 +00:00
Родитель ccdd324ed9
Коммит 4ac1b51893
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -446,6 +446,10 @@ nsHttpResponseHead::ParseContentType(char *type)
;
*++p = 0; // overwrite first char after the media type
// force the content-type to lowercase
while (--p >= type)
*p = nsCRT::ToLower(*p);
mContentType = type;
return NS_OK;