|
Network.HTTP.Lucu.MIMEType.Guess |
|
|
Description |
MIME Type guessing by a file extension. This is a poor man's way
of guessing MIME Types. It is simple and fast.
In general you don't have to use this module directly.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Map from extension to MIME Type.
|
|
|
Guess the MIME Type of file.
|
|
|
Read an Apache mime.types and parse it.
|
|
|
serializeExtMap extMap moduleName variableName generates a
Haskell source code which contains the following things:
- A definition of module named moduleName.
- variableName :: ExtMap whose content is a serialization of
extMap.
The module Network.HTTP.Lucu.MIMEType.DefaultExtensionMap is
surely generated using this function.
|
|
Produced by Haddock version 2.4.2 |