You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/07/13 09:39:23 UTC
svn commit: r793477 -
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java
Author: lofwyr
Date: Mon Jul 13 07:39:22 2009
New Revision: 793477
URL: http://svn.apache.org/viewvc?rev=793477&view=rev
Log:
TOBAGO-774: support for HTML mime type
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java?rev=793477&r1=793476&r2=793477&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MimeTypeUtils.java Mon Jul 13 07:39:22 2009
@@ -17,10 +17,6 @@
* limitations under the License.
*/
-/**
- * Date: 10.05.2007
- * Time: 18:01:46
- */
public class MimeTypeUtils {
private MimeTypeUtils() {
@@ -41,7 +37,7 @@
return "text/css";
} else if (file.endsWith(".ico")) {
return "image/vnd.microsoft.icon";
- } else if (file.endsWith("blank.html")) {
+ } else if (file.endsWith(".html")) {
return "text/html";
}
return null;