diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-03-06 10:50:17 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-03-06 10:50:17 +0100 |
commit | 4291309fc7d24e11bb15378e980856fa00ac7da1 (patch) | |
tree | 5b3803aa902fee490f2a0cf328c586c98e098ac5 /LICENSE-2.0.txt | |
parent | e5d40e32d1f01b98c7344dae3707a38720e08666 (diff) |
Add comments about always setting INFER_EXTENSION.
INFER_EXTENSION must always be set in order to provide right mimetypes for
some files.
For example mimetype for css files must be 'text/css' and not 'text/plain' as
returned by libmagic. If mimetype is not correct, css files of HTML5 webapps
will be not correctly interpreted resulting in a strange rendering in browser
like Chrome.
Change-Id: I7f0d9f97ede19308c87256f7850f5c51135827f3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'LICENSE-2.0.txt')
0 files changed, 0 insertions, 0 deletions