-
Notifications
You must be signed in to change notification settings - Fork 231
Pub serve should transfer files with their correct mime type #707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
<img src="https://avatars.githubusercontent.com/u/648527?v=3" align="left" width="48" height="48"hspace="10"> Comment by Fox32 This is not a problem in Chrome, but Internet Explorer ignores CSS files that are served with the wrong type. Thats annoying if I want to test if my application works cross-browser. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Oof, that is annoying. Yes, we should definitely fix this. This is probably a pretty easy starter bug. I think there's even a TODO in the code to point to where this should go. If anyone has time, we'd certainly love to have more contributors. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Changed the title to: "Pub serve should transfer files with their correct mime type". |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Removed Priority-Unassigned label. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Marked this as blocking dart-lang/sdk#15859. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Unmarked this as blocking dart-lang/sdk#15859. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Marked this as blocking dart-lang/sdk#15830. |
<img src="https://avatars.githubusercontent.com/u/46275?v=3" align="left" width="48" height="48"hspace="10"> Comment by munificent Added DevStory label. |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 |
<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3 Fixed in dart-lang/sdk@41b1ded. Added Fixed label. |
<img src="https://avatars.githubusercontent.com/u/8518285?v=3" align="left" width="96" height="96"hspace="10"> Issue by stevemessick
Originally opened as dart-lang/sdk#14815
[user feedback]
Pub serve should transfer files with their correct mine type, but doesn't seem to do it:
Resource interpreted as Script but transferred with MIME type text/plain: "http://localhost:3031/packages/browser/dart.js". admin.html:15
Resource interpreted as Stylesheet but transferred with MIME type text/plain: "http://localhost:3031/assets/bootstrap/css/bootstrap.min.css".
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.8.7_r29341 (2013-10-28)
OS: Windows 8 - amd64 (6.2)
JVM: 1.7.0_21
projects: 2
open dart files: 0
auto-run pub: true
localhost resolves to: 127.0.0.1
mem max/total/free: 1778 / 1289 / 382 MB
thread count: 34
index: 592303 relationships in 114639 keys in 780 sources
SDK installed: true
Dartium installed: true
The text was updated successfully, but these errors were encountered: