content_type 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/content_type.c +2 -0
- metadata +2 -2
data/ext/content_type.c
CHANGED
@@ -15,6 +15,8 @@ VALUE file_content_type_wrap(VALUE self, VALUE path);
|
|
15
15
|
VALUE file_content_type(VALUE self);
|
16
16
|
VALUE file_singleton_content_type(VALUE self, VALUE path);
|
17
17
|
|
18
|
+
bool content_type_file_ext(VALUE self, char *ext);
|
19
|
+
|
18
20
|
// http://www.webdeveloper.com/forum/showthread.php?t=162526
|
19
21
|
const char *content_type_ext_overrides[][2] = {
|
20
22
|
{ "docm", "application/vnd.ms-word.document.macroEnabled.12" },
|