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
I create mime with simple text then I did perform and curl correcly send data.
After that I change data in text part but when I did perform again curl
send Content-Length for first data. If I change data without doing perform then
curl send correct Content-Length. This is my snippet on Lua, but I think
it quite easy to understand.
local easy = curl.easy()
local mime = easy:mime()
mimepost = mime;
local part = mime:addpart()
easy:perform() -- here curl send Conten-Length: 136 (which is correct)
easy:perform() -- here curl send same Conten-Length: 136 but data size is 130
I expected the following
I expected that curl send correct Content-Length
Windows 7 x64
The text was updated successfully, but these errors were encountered: