Author: dkatayev
Date: 2009-10-13 05:58:47 -0400 (Tue, 13 Oct 2009)
New Revision: 273
Modified:
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/ext/TestEncoding.java
Log:
EXOJCR-183 TestEncoding updated to support splitted Encoding header,
Modified:
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/ext/TestEncoding.java
===================================================================
---
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/ext/TestEncoding.java 2009-10-13
09:43:21 UTC (rev 272)
+++
jcr/trunk/component/webdav/src/test/java/org/exoplatform/services/jcr/webdav/ext/TestEncoding.java 2009-10-13
09:58:47 UTC (rev 273)
@@ -45,7 +45,7 @@
// UTF-8 content
public static final String UTF_FILE = "/utfFile.txt";
- public static final String UTF_CONTENT_TYPE = "text/plain;charset=UTF-8";
+ public static final String UTF_CONTENT_TYPE = "text/plain";
public static final String UTF_CHARSET = "UTF8";
@@ -54,7 +54,7 @@
// windows-1251 content
public static final String WIN_FILE = "/winFile.txt";
- public static final String WIN_CONTENT_TYPE =
"text/plain;charset=windows-1251";
+ public static final String WIN_CONTENT_TYPE = "text/plain";
public static final String WIN_CHARSET = "Cp1251";
@@ -63,7 +63,7 @@
// ISO 8859-5 content
public static final String ISO_FILE = "/isoFile.txt";
- public static final String ISO_CONTENT_TYPE =
"text/plain;charset=iso-8859-5";
+ public static final String ISO_CONTENT_TYPE = "text/plain";
public static final String ISO_CHARSET = "ISO-8859-5";