> What is 'wsgi.file_wrapper' anyway?
It's a WSGI hook defined in PEP 333 and
(https://www.python.org/dev/peps/pep-/#optional-platform-specific-file-handling)
It basically lets your application defer to an iterator defined in
middleware file responses. In the Pyramid code, you'll see
On Sat, Oct 17, 2020 at 12:06 AM Mike Orr wrote:
>
> I'm migrating user-uploaded files from a local filesystem to MinIO (an
> S3-compatible file server). I can't use FileResponse because I get
> back a filehandle or a bytes, and I'd have to write it to a temporary
> file to use FileResponse.I'm al