FAQ
HttpServer sends wrong content-type for CSS files (and others)
--------------------------------------------------------------

Key: HADOOP-6496
URL: https://issues.apache.org/jira/browse/HADOOP-6496
Project: Hadoop Common
Issue Type: Bug
Reporter: Lars Francke
Priority: Minor


CSS files are send as text/html causing problems if the HTML page is rendered in standards mode. The HDFS interface for example still works because it is rendered in quirks mode, the HBase interface doesn't work because it is rendered in standards mode. See HBASE-2110 for more details.

I've had a quick look at HttpServer but I'm too unfamiliar with it to see the problem. I think this started happening with HADOOP-6441 which would lead me to believe that the filter is called for every request and not only *.jsp and *.html. I'd consider this a bug but I don't know enough about this to provide a fix.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJan 15, '10 at 6:27p
activeJan 15, '10 at 6:27p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Lars Francke (JIRA): 1 post

People

Translate

site design / logo © 2021 Grokbase