.eot and .woff2 weren't listed, but are present in vendored fontawesome. .ttf and .woff are font/* according to IANA, https://www.iana.org/assignments/media-types/media-types.xhtml#font. This matches what mime.TypeByExtension returns. .eot is from https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types. mime.TypeByExtension doesn't recognize this extension. * lib/assets: Use http.ParseTime This understands the three time formats allowed in HTTP. |
||
---|---|---|
.. | ||
assets_test.go | ||
assets.go |