-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: The HTTP Header of multipart/form-data
no longer includes charset
.
#6251
base: master
Are you sure you want to change the base?
Conversation
It seems that the fachbook homepage doesn't return 200, but redirects to the login page. Debug info:
|
I believe the core of the issue is that However, it does use the provided in How about fixing the issue in HTTP client instead? As a temporary workaround, we could clone |
I completely agree;
Perhaps the issues in the Http Client should be fixed within the Http Client itself, and the changes are substantial.
I'm not sure where the mistake lies in doing so, could you provide an example? Thank you. If I understand correctly, the actual effect of For So, according to RFC 7578, perhaps HttpClient shouldn't provide the It turns out, before HttpClient handles the Charset issue properly, JMeter just needs to refrain from calling the |
As I said earlier, |
Description
close #6250 .
Motivation and Context
On some web server implementations, including charset in the request header
Content-Type
ofmultipart/form-data
can result in parsing errors of theboundary
, leading to a failure in sending form content.This is inconsistent with the behavior in JMeter 5.6.2 and also does not comply with RFC.
Perhaps fixing this in the httpclient would be a more elegant choice, but:
How Has This Been Tested?
Screenshots (if appropriate):
After : remove charset
Types of changes
Checklist: