ASF Bugzilla – Attachment 35202 Details for
Bug 61384
Adding charset to multipart/form-data content type irritates IIS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Don't add charset to multipart/form-data content type
no-charset-on-multipart-form-data.diff (text/plain), 1.22 KB, created by
Felix Schumacher
on 2017-08-05 17:41:26 UTC
(
hide
)
Description:
Don't add charset to multipart/form-data content type
Filename:
MIME Type:
Creator:
Felix Schumacher
Created:
2017-08-05 17:41:26 UTC
Size:
1.22 KB
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java (Revision 1804199) >+++ src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java (Arbeitskopie) >@@ -1242,7 +1242,7 @@ > if(getUseMultipartForPost()) { > // If a content encoding is specified, we use that as the > // encoding of any parameter values >- Charset charset = null; >+ Charset charset; > if(haveContentEncoding) { > charset = Charset.forName(contentEncoding); > } else { >@@ -1254,8 +1254,7 @@ > getDoBrowserCompatibleMultipart(), charset, haveContentEncoding); > } > // Write the request to our own stream >- MultipartEntityBuilder multipartEntityBuilder = MultipartEntityBuilder.create() >- .setCharset(charset); >+ MultipartEntityBuilder multipartEntityBuilder = MultipartEntityBuilder.create(); > if(getDoBrowserCompatibleMultipart()) { > multipartEntityBuilder.setLaxMode(); > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61384
: 35202 |
35258
|
35259