hyperctl dev mimetype command
Overview
The hyperctl dev mimetype is used to collect MIME type information about files on disk.
It is provided for development and debugging purposes to inspect HyperTemplates' internal MIME type detection.
Internally, the hyperctl dev mimetype command uses the Web Hypertext Application Technology Working Group (WHATWG) 1 MIME Sniffing algorithm to determine the content-type of the given data.
Usage
1$ hyperctl dev mimetype -h
2Get file mimetype information.
3
4Usage:
5 hyperctl dev mimetype [options] <path>
6
7Options:
8 -h, --help Display help information.
Example
1$ hyperctl dev mimetype theme/static/favicon.png
2file "theme/static/favicon.png" has "image/png" mimetype
Options
<path>- The path to the file to scan for MIME type information.
-
The Web Hypertext Application Technology Working Group (WHATWG) is a web standards steering group made up of individuals from Microsft, Apple, and Google. ↩︎