You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, first of all: thanks for this wonderful library! I've been using it for quite some time now, and it works like a charm.
There's one thing I'm missing, though: being able to upload files (as multipart) using an io.Reader and a name for the file. The scenario is, for example, something like this:
I have a database of many small image files which are stored as BLOBs along with their original file name (or file type). I want to upload some of them to some endpoints, I know the server will check the extension of the file name to determine if I really send images. It'd be great if I could directly "pipe" the image from the DB along with its name (or a made up name) into resty. It's a pain to create temporary files for every upload I need (imagine the DB running on another machine)...
Other scenarios might include receiving files over the network - I don't want to store a copy locally, I just want to pipe them through.
Would it be possible to get that? I'm thinking of something like
Hey, first of all: thanks for this wonderful library! I've been using it for quite some time now, and it works like a charm.
There's one thing I'm missing, though: being able to upload files (as multipart) using an
io.Reader
and a name for the file. The scenario is, for example, something like this:I have a database of many small image files which are stored as BLOBs along with their original file name (or file type). I want to upload some of them to some endpoints, I know the server will check the extension of the file name to determine if I really send images. It'd be great if I could directly "pipe" the image from the DB along with its name (or a made up name) into resty. It's a pain to create temporary files for every upload I need (imagine the DB running on another machine)...
Other scenarios might include receiving files over the network - I don't want to store a copy locally, I just want to pipe them through.
Would it be possible to get that? I'm thinking of something like
What do you think?
The text was updated successfully, but these errors were encountered: