Some background: #135
Currently react-native-blob-courier supports multipart/form-data file uploads only, it should support multipart/related as well.
Proposed solution
- Add a
multipartType: "form-data" | "related" field to BlobMultipartMapUploadRequest
- Add a
Content-ID field to each part of the request. The value of the Content-ID-field will be the name of the key of the part in the parts dictionary of the upload request, so contents of separate parts can refer to each other through cid's.
- Add
inline: boolean = false field to BlobMultipartFormData
Progress
Some background: #135
Currently
react-native-blob-couriersupportsmultipart/form-datafile uploads only, it should support multipart/related as well.Proposed solution
multipartType: "form-data" | "related"field to BlobMultipartMapUploadRequestContent-IDfield to each part of the request. The value of the Content-ID-field will be the name of the key of the part in thepartsdictionary of the upload request, so contents of separate parts can refer to each other through cid's.inline: boolean = falsefield to BlobMultipartFormDataProgress
multipartTypetoBlobMultipartMapUploadRequestinlinefield toBlobMultiPartFormDataContent-IDfield to each part of the request in Android code baseContent-IDfield to each part of the request in iOS code baseinlinefield in Android code baseinlinefield in iOS code base