Discover Packages
github.com/mholt/caddy
middleware
mime
package
Version:
v0.8.3
Opens a new window with list of versions in this module.
Published: Apr 26, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Config represent a mime config. Map from extension to mime-type.
Note, this should be safe with concurrent read access, as this is
not modified concurrently.
Mime sets Content-Type header of requests based on configurations.
ServeHTTP implements the middleware.Handler interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.