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
When making a form-data request using OkHttp, a status code of 400 is returned. Here is the captured packet phenomenon.
It seems that when there is a Content-Length field between the boundaries, this situation occurs.
However, when I use curl to make a form-data request, it works fine, as shown below.
I have debugged cpp-httplib using Visual Studio 2019 breakpoints and found that it may be related to the following code snippet.