3a7a743bc4
Currently, When `/etc/mime.types` has a unusual mime type, web of prometheus uses the type and you may get unexpected result. With this change, web returns consistent Content-Type header for static js and css files To reproduce: 1. Add a type at the end of `/etc/mime` like `text/x-js js` 2. Run prometheus 3. Request js file like `http://localhost:9090/static/vendor/js/jquery.min.js` 4. You will see Content-Type of the response is `text/x-js` instead of `application/javascript` Signed-off-by: mrasu <m.rasu.hitsuji@gmail.com> |
||
---|---|---|
.. | ||
cloud.google.com/go | ||
contrib.go.opencensus.io/exporter/ocagent | ||
github.com | ||
go.opencensus.io | ||
golang.org/x | ||
google.golang.org | ||
gopkg.in | ||
k8s.io | ||
sigs.k8s.io/yaml | ||
modules.txt |