Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348622 - Hosted Site is not sending a content-type for resources - kills IE9 with CSS
Summary: Hosted Site is not sending a content-type for resources - kills IE9 with CSS
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: 0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 14:34 EDT by Simon Kaegi CLA
Modified: 2013-09-24 15:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Kaegi CLA 2011-06-07 14:34:47 EDT
When serving up hosted content we really need to make some effort to send an appropriate content-type. This is currently breaking the use of IE9 on hosted sites that use CSS because IE9 will only render css returned with the correct content-type.
Comment 1 Boris Bokowski CLA 2011-06-07 14:54:53 EDT
This is kind of a blocker for self-hosting on IE. Mark, can you look into this please?
Comment 2 Mark Macdonald CLA 2011-06-07 16:37:13 EDT
When serving a file from the Orion workspace through a site, we now add a Content-Type header if we know it. This fixes the stylesheets in IE

Simon +1'd this

http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=a808cd7bafbd59eab733599492ddaa04b46303d6