FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one.

This commit is contained in:
Chris Rienzo committed 2015-04-30 14:24:41 -04:00
1 parent 518d74a4bc
commit b28f7acac1
9 files changed
+5724 -2584

No files matched your search

+1
View File
@@ -222,6 +222,7 @@ struct switch_runtime {
int64_t offset;
switch_event_t *global_vars;
switch_hash_t *mime_types;
switch_hash_t *mime_type_exts;
switch_hash_t *ptimes;
switch_memory_pool_t *memory_pool;
const switch_state_handler_table_t *state_handlers[SWITCH_MAX_STATE_HANDLERS];