-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
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-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. - Add
inline: boolean = falsefield to BlobMultipartFormData
Progress
- Add
multipartTypetoBlobMultipartMapUploadRequest - Add
inlinefield toBlobMultiPartFormData - Add
Content-IDfield to each part of the request in Android code base - Add
Content-IDfield to each part of the request in iOS code base - Process
inlinefield in Android code base - Process
inlinefield in iOS code base - Add TypeScript tests
- Add Android tests
- Add iOS tests