Open olalonde opened 8 years ago
Is it possible to know the size of the stream that webshot returns in advance (in advance / without consuming it)? That would help setting content-length header when streaming the response in an express route for example.
This would be really useful. Another use case would be streaming directly to S3 where you have to specify a content-length.
@zpnk That's the reason I need this actually :p
Is it possible to know the size of the stream that webshot returns in advance (in advance / without consuming it)? That would help setting content-length header when streaming the response in an express route for example.