You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zooltech (Bug 65310):
There is a default content-type parameter in HTTP Manager coomponent.
The upload sampler(Http Request):
In the request header sent by java implement, the value of content-type is correct.
In the request header sent by httpclient4 implement, the value of content-type is the default value defined by HTTP Manager, not the correct value.
Don't let users override content-type header when using multipart/form-data
The content-type header will contain the boundary from the multiparts. That
value can't be guessed by the user and using the original given content-type
will very likely be wrong.
Apart from that reason, the Java implementation of HTTPSampler will use
the generated content-type anyway and therefore this patch will make the
two implementations behave consistently.
https://github.com/apache/jmeter/issues/5538
zooltech (Bug 65310):
There is a default content-type parameter in HTTP Manager coomponent.
The upload sampler(Http Request):
In the request header sent by java implement, the value of content-type is correct.
In the request header sent by httpclient4 implement, the value of content-type is the default value defined by HTTP Manager, not the correct value.
See the attachment for details.
Created attachment pic.png: pic
Severity: major
OS: Linux
The text was updated successfully, but these errors were encountered: