prometheus/vendor
mrasu 3a7a743bc4 Consistent Content-Type for js and css (#5551)
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>
2019-05-09 16:10:15 +01:00
..
cloud.google.com/go Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
contrib.go.opencensus.io/exporter/ocagent Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
github.com Consistent Content-Type for js and css (#5551) 2019-05-09 16:10:15 +01:00
go.opencensus.io Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
golang.org/x Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
google.golang.org Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
gopkg.in Update dependencies. (#5449) 2019-04-10 18:47:25 +01:00
k8s.io update client-go,api,api-machinery and klog dependencies 2019-04-23 10:54:18 -07:00
sigs.k8s.io/yaml update kubernetes deps to v1.13.0 2018-12-03 19:32:16 -08:00
modules.txt Consistent Content-Type for js and css (#5551) 2019-05-09 16:10:15 +01:00