25775. a=jar, r=rpotts. We now handled the incorrect 'multipart/mixed' type comming from an HTTP reponse for backwards compat.

This commit is contained in:
valeski%netscape.com 2000-03-03 22:44:32 +00:00
Родитель e8d62422d6
Коммит 15ba96ab79
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -154,6 +154,14 @@ static nsModuleComponentInfo components[] =
CreateNewMultiMixedConvFactory
},
// There are servers that hand back "multipart/mixed" to
// indicate they want x-mixed-replace behavior.
{ "MultiMixedConverter2",
NS_MULTIMIXEDCONVERTER_CID,
NS_ISTREAMCONVERTER_KEY "?from=multipart/mixed?to=*/*",
CreateNewMultiMixedConvFactory
},
{ "TXTToHTMLConverter",
MOZITXTTOHTMLCONV_CID,
NS_ISTREAMCONVERTER_KEY "?from=text/plain?to=text/html",