Fix for the failing test case that makes use of the default platform charset

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@628690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2008-02-18 11:59:58 +00:00
parent 1fd17159fb
commit 000444c93d
1 changed files with 4 additions and 2 deletions

View File

@ -156,7 +156,8 @@ public class TestMultipartForm extends TestCase {
String expected = "\r\n" +
"--foo\r\n" +
"Content-Disposition: form-data; name=\"field1\"\r\n" +
"Content-Type: text/plain; charset=UTF-8\r\n" +
"Content-Type: text/plain; charset=" +
Charset.defaultCharset() + "\r\n" +
"Content-Transfer-Encoding: 8bit\r\n" +
"\r\n" +
"this stuff\r\n" +
@ -168,7 +169,8 @@ public class TestMultipartForm extends TestCase {
"that stuff\r\n" +
"--foo\r\n" +
"Content-Disposition: form-data; name=\"field3\"\r\n" +
"Content-Type: text/plain; charset=UTF-8\r\n" +
"Content-Type: text/plain; charset=" +
Charset.defaultCharset() + "\r\n" +
"Content-Transfer-Encoding: 8bit\r\n" +
"\r\n" +
"all kind of stuff\r\n" +