On Saturday, 19 September 2020 at 18:56:20 UTC, Steven Schveighoffer wrote:
On 9/19/20 7:15 AM, ikod wrote:
On Saturday, 19 September 2020 at 11:11:21 UTC, ikod wrote:
On Friday, 18 September 2020 at 13:13:16 UTC, wjoe wrote:

My preferable way to handle such thing is: convert incoming data into input range of immutable(ubyte)[] and let user to consume this range (and handle it as it wish - transform, store in memory as is, or dump to disk)

sorry, this looks exactly like it described in proposal (and this is how requests works).


You mean for each file, right? Yeah, that is the proposal,

If user uploads several files through single form then yes, for each file. Maybe handler should receive range of input ranges and handle each as necessary.

though it uses Vibe's io type (necessary I think).

-Steve


Reply via email to