Open danhandrea opened 4 years ago
Using bytesPart in a multipartBody will always set the filename in Content-Disposition to "blob" even though bytesPart used with correct parameters.
filename
Content-Disposition
bytesPart
Http.bytesPart "picture_name.jpg" "image/png" bytes
will become Content-Disposition: form-data; name="picture_name.jpg"; filename="blob"
Content-Disposition: form-data; name="picture_name.jpg"; filename="blob"
Using bytesPart in a multipartBody will always set the
filename
inContent-Disposition
to "blob" even thoughbytesPart
used with correct parameters.will become
Content-Disposition: form-data; name="picture_name.jpg"; filename="blob"