1. Bryan Fink
  2. webmachine

Commits

Bryan Fink  committed f6da877

add .manifest -> text/cache-manifest to guess_mime for serving HTML5 cache manifests
add .svg -> image/svg+xml to guess_mime for serving SVG images

  • Participants
  • Parent commits 54a6a3b
  • Branches default

Comments (0)

Files changed (1)

File src/webmachine_util.erl

View file
  • Ignore whitespace
 	    "application/x-gzip";
         ".htc" ->
             "text/x-component";
+	".manifest" ->
+	    "text/cache-manifest";
+        ".svg" ->
+            "image/svg+xml";
 	_ ->
 	    "text/plain"
     end.