mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-28 05:39:07 +00:00
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:
parent
1fd17159fb
commit
000444c93d
@ -156,7 +156,8 @@ public void testMultipartFormStringParts() throws Exception {
|
||||
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 void testMultipartFormStringParts() throws Exception {
|
||||
"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" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user