]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/StaticFile.hs
Many bugfixes
[Lucu.git] / Network / HTTP / Lucu / StaticFile.hs
index f0e9bd80508d8589eba5121c2d61dec1b09ad1bc..4f669314aee7e599703e999433a63713fe1b4a6f 100644 (file)
@@ -46,7 +46,8 @@ staticFile path
       }
 
 octetStream ∷ MIMEType
-octetStream = mkMIMEType "application" "octet-stream"
+{-# NOINLINE octetStream #-}
+octetStream = parseMIMEType "application/octet-stream"
 
 handleStaticFile ∷ Bool → FilePath → Resource ()
 handleStaticFile sendContent path