Discover Packages
github.com/taik/caddy
caddyhttp
mime
package
Version:
v0.10.10
Opens a new window with list of versions in this module.
Published: Oct 9, 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.