The order of priority in detecting the mime type is now: - Content-Type response header - File path extension - http.DetectContentType |
||
|---|---|---|
| .. | ||
| imgbundler.go | ||
| imgbundler_test.go | ||
| test_png.png | ||
| test_svg.svg | ||
The order of priority in detecting the mime type is now: - Content-Type response header - File path extension - http.DetectContentType |
||
|---|---|---|
| .. | ||
| imgbundler.go | ||
| imgbundler_test.go | ||
| test_png.png | ||
| test_svg.svg | ||