Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348622

Summary: Hosted Site is not sending a content-type for resources - kills IE9 with CSS
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Project Inbox <e4.orion-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: bokowski, mamacdon
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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