vibe.d: How to get the conent of a file upload ?
ikod
igor.khasilev at gmail.com
Sat Sep 19 11:15:53 UTC 2020
On Saturday, 19 September 2020 at 11:11:21 UTC, ikod wrote:
> On Friday, 18 September 2020 at 13:13:16 UTC, wjoe wrote:
>> On Friday, 18 September 2020 at 12:58:29 UTC, Steven
>> Schveighoffer wrote:
>>> On 9/18/20 8:39 AM, Steven Schveighoffer wrote:
>>>> But again, solved with an enhancement that allows you to
>>>> process the data in your code. I'll file the enhancement
>>>> request for you, as I think it's a nice addition.
>>>
>>> https://github.com/vibe-d/vibe.d/issues/2478
>>>
>>> -Steve
>>
>> Awesome! Thanks a ton :)
>
> 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).
More information about the Digitalmars-d-learn
mailing list