Initialized the file extension to content-type mappings to allow netlib to determine the content-type of a file based on its extension...

This commit is contained in:
rpotts 1998-07-02 19:44:56 +00:00
Родитель b4dc2c395e
Коммит 5d1c00cbb7
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -78,6 +78,9 @@ nsNetlibService::nsNetlibService(nsINetContainerApplication *aContainerApp)
/* Initialize netlib with 32 sockets... */
NET_InitNetLib(0, 32);
/* Initialize the file extension -> content-type mappings */
NET_InitFileFormatTypes(nsnull, nsnull);
mContainer = aContainerApp;
NS_IF_ADDREF(mContainer);
if (NULL != mContainer) {