Revert "mime: do not perform more than one read in a row"

This reverts commit ed0f357f7d.
This commit is contained in:
Daniel Stenberg 2020-03-02 07:42:54 +01:00
parent e002f6c0cb
commit d7242f4757
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
15 changed files with 77 additions and 679 deletions

View file

@ -69,18 +69,18 @@ s/boundary=------------------------[a-z0-9]*/boundary=--------------------------
POST /643 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 640
Content-Length: 718
Content-Type: multipart/form-data; boundary=----------------------------
------------------------------
Content-Disposition: form-data; name="sendfile"; filename="postit2.c"
dummy
this is what we post to the silly web server
------------------------------
Content-Disposition: form-data; name="callbackdata"
dummy
this is what we post to the silly web server
------------------------------
Content-Disposition: form-data; name="filename"
@ -99,18 +99,18 @@ blah blah
POST /643 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 654
Content-Length: 732
Content-Type: multipart/form-data; boundary=----------------------------
------------------------------
Content-Disposition: form-data; name="sendfile alternative"; filename="file name 2"
dummy
this is what we post to the silly web server
------------------------------
Content-Disposition: form-data; name="callbackdata"
dummy
this is what we post to the silly web server
------------------------------
Content-Disposition: form-data; name="filename"