add a blacklist of mimetypes which we won't gzip compress on the way out.
[citadel.git] / webcit / webserver.c
index 8ecdec8431f66c7a3d6d7cd58a7d2d2ad80ceac2..db3a01aa9c9ce1f114e1445869b174ffe9626fc1 100644 (file)
@@ -56,6 +56,7 @@ extern StrBuf *I18nDump;
 void InitTemplateCache(void);
 extern int LoadTemplates;
 
 void InitTemplateCache(void);
 extern int LoadTemplates;
 
+void LoadMimeBlacklist(void);
 
 /*
  * Here's where it all begins.
 
 /*
  * Here's where it all begins.
@@ -223,6 +224,7 @@ int main(int argc, char **argv)
        }
 
        webcit_calc_dirs_n_files(relh, basedir, home, webcitdir, relhome);
        }
 
        webcit_calc_dirs_n_files(relh, basedir, home, webcitdir, relhome);
+       LoadMimeBlacklist();
        LoadIconDir(static_icon_dir);
 
        /* Tell 'em who's in da house */
        LoadIconDir(static_icon_dir);
 
        /* Tell 'em who's in da house */