Discover Packages
github.com/ivaners/caddy
caddyhttp
mime
package
Version:
v0.9.3
Opens a new window with list of versions in this module.
Published: Sep 28, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 6
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 httpserver.Handler interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.