andrebsguedes commented on PR #5681:
URL: https://github.com/apache/arrow-rs/pull/5681#issuecomment-2148355532

   @tustvold @konjac I still have to take the time to go through all comments 
here but thanks in advance for taking the time to review it. I can understand 
the hesitation of approving something that does manual encoding/decoding like 
this and I would personally hope that we could rely on something else that 
handle the trickiest bits for us but my searches for a crate that could handle 
this were unfruitful:
   - [multipart](https://crates.io/crates/multipart): old, synchronous and only 
`multipart/form-data`
   - [multer](https://docs.rs/multer): parsing only, and seems to be hard-coded 
to `multipart/form-data` mime
   - [multipart-stream](https://crates.io/crates/multipart-stream): also old, 
supports `multipart/x-mixed-replace` and maybe `multipart/mixed` but requires 
the content-length header in parts
   - ...
   
   But what really ended my search was looking at how the official clients do 
this and realizing they are also doing it manually:
   - 
[Python](https://github.com/Azure/azure-sdk-for-python/blob/73cf501eacd74e8efc2ee19a860e2c3220697aa7/sdk/storage/azure-storage-blob/azure/storage/blob/_shared/request_handlers.py#L149)
   - 
[Javascript](https://github.com/Azure/azure-sdk-for-js/blob/fab92571a8a0f6615237c37f75ad6ecd5fc6a9ec/sdk/storage/storage-blob/src/BatchResponseParser.ts#L55)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to