How add support mime type?
pablogrela opened this issue · 5 comments
When add glyphicon bootstrap appear this warning in console of javascript:
Resource interpreted as Font but transferred with MIME type text/plain: "http://localhost:8080/members/resources/fonts/glyphicons-halflings-regular.woff2".
Hm. I will need to investigate. This is strange.
Ok, thanks.
@pablogrela Not sure if I get this right. I just updated the Bootstrap and added glyphicons, because they were simply not there (d0170b2)
When I check in Chrome and Edge I see the font is properly returned.
Headers.
- Edge:
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Length: 23424
Content-Type: application/x-font-woff; charset=UTF-8
Date: Wed, 19 Aug 2015 20:55:22 GMT
Expires: 0
Last-Modified: Wed, 19 Aug 2015 20:45:08 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
- Chrome:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Last-Modified: Wed, 19 Aug 2015 20:45:08 GMT
Content-Length: 18028
Date: Wed, 19 Aug 2015 20:52:23 GMT
Maybe you could provide some more information.
Sorry but I do not know.
Date: Wed, 19 Aug 2015 14:01:48 -0700
From: notifications@github.com
To: spring-mvc-quickstart-archetype@noreply.github.com
CC: pablogp_9@hotmail.com
Subject: Re: [spring-mvc-quickstart-archetype] How add support mime type? (#81)
@pablogrela Not sure if I get this right. I just updated the Bootstrap and added glyphicons, because they were simply not there (d0170b2)
When I check in Chrome and Edge I see the font is properly returned.
Headers.
Edge:
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Content-Length: 23424
Content-Type: application/x-font-woff; charset=UTF-8
Date: Wed, 19 Aug 2015 20:55:22 GMT
Expires: 0
Last-Modified: Wed, 19 Aug 2015 20:45:08 GMT
Pragma: no-cache
Server: Apache-Coyote/1.1
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Chrome:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Last-Modified: Wed, 19 Aug 2015 20:45:08 GMT
Content-Length: 18028
Date: Wed, 19 Aug 2015 20:52:23 GMT
Maybe you could provide some more information.
—
Reply to this email directly or view it on GitHub.
Not confirmed.