gaxios icon indicating copy to clipboard operation
gaxios copied to clipboard

feature request: support multipart requests

Open ddelgrosso1 opened this issue 3 years ago • 2 comments

Currently it does not appear that Gaxios supports the ability to send multipart requests. As maintainers of google-cloud/storage we would like to be able to move away from teeny-request (which does support multipart requests) as well as add the ability to do batch deletes which require multipart requests. It would be nice to add multipart requests to this library.

ddelgrosso1 avatar May 27 '22 16:05 ddelgrosso1

The same request, the documentation says that when you send data as ReadableStream, it should set the corrent content-type. I send ReadStream, so i would expect it to work, but it doesn't. To be more precise i would expect this to work:

data: fs.createReadStream(...)

mpiorowski avatar Jun 03 '22 09:06 mpiorowski

Or even when i try to put FormData into data, still not working.

mpiorowski avatar Jun 03 '22 21:06 mpiorowski

I have started implementing this so reassigning myself.

ddelgrosso1 avatar Apr 02 '24 14:04 ddelgrosso1