kopflos icon indicating copy to clipboard operation
kopflos copied to clipboard

Request cannot be consumed multiple time as quad stream

Open tpluscode opened this issue 11 months ago • 0 comments

Because request stream can only be consumed once, calling req.body.quadStream twice (or after req.body.dataset) returns an empty result.

This is understandable but it can lead to subtle errors.

We could (optionally?) write the stream to a temp file to allow transparently consuming it multiple times.

tpluscode avatar Apr 10 '25 11:04 tpluscode