Discover Packages
github.com/miniers/caddy
caddyhttp
mime
package
Version:
v0.11.5
Opens a new window with list of versions in this module.
Published: Mar 4, 2019
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.