зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
e8d62422d6
Коммит
15ba96ab79
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче