2 ms·
Pass a stream into the response. Response(file.stream())
by hombre_fatal 2y ago
Pass a stream into the response.
Response(file.stream())
- mort96 2y agoI mean thanks but that doesn't change the fact that > That's a rather surprising choice for the default, and it's not at all obvious how you'd disable it if you don't want to expose your S3 bucket directly.
- iainmerrick 2y agoTo be fair, it does answer my “not at all obvious” bit -- just calling stream() is pretty clear! I should have thought a little longer.