Discover Packages
github.com/unwrittenfun/caddy
caddyhttp
mime
package
Version:
v0.10.9
Opens a new window with list of versions in this module.
Published: Sep 12, 2017
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.