compileserver: add mime type text/css to LoadDefaultMimeTypes
Original Reporter info from Mantis: Simon Ameis @SAmeis
-
Reporter name: Simon Ameis
Original Reporter info from Mantis: Simon Ameis @SAmeis
- Reporter name: Simon Ameis
Description:
The method THTTPCompilerApplication.LoadDefaultMimeTypes should also add text/css as this is a very common mime type for web applications.
&LtPos;code>
MimeTypes.AddType('text/css','css');
&LtPos;/code>
Additional information:
If the mime type for CSS files can't be determined, they are sent as application/octet-stream. This is refused by Firefox. See https://stackoverflow.com/questions/48248832/stylesheet-not-loaded-because-of-mime-type for root case.
Mantis conversion info:
- Mantis ID: 37424
- Build: trunk
- Fixed in version: trunk
- Fixed in revision: 46306