views:

72

answers:

1

Currently my IIS is serving CSS files with no Content-Type header. How to change it?

Should I change it on my application or in the server?

+4  A: 

This is definitly an IIS/OS function and should be set in IIS.

How to add it depends on the version of IIS you are using...

Here are instructions for IIS 6.0 and IIS 7.0.

Oded
The default setting in IIS 7 is to add "Content-type:text/css" to .css files. But it is not working.
Jader Dias
I think I should submit a bug report to Microsoft.
Jader Dias