Skip to content
Browse files

Added otf (font/opentype) to MIMEs

  • Loading branch information...
1 parent 29d15d5 commit 4e6f8710c2a09199e76a2971807c4bccc250ae8e @kardan kardan committed Sep 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/mochiweb_mime.erl
View
2 src/mochiweb_mime.erl
@@ -388,6 +388,8 @@ from_extension(".webp") ->
"image/web";
from_extension(".woff") ->
"application/x-font-woff";
+from_extension(".otf") ->
+ "font/opentype";
from_extension(_) ->
undefined.

0 comments on commit 4e6f871

Please sign in to comment.
Something went wrong with that request. Please try again.