Hi Theron and others,

On Wed, 14 Jul 2021 at 17:57, Theron Luhn <[email protected]> wrote:

> Pyramid has FileResponse
> https://docs.pylonsproject.org/projects/pyramid/en/latest/api/response.html#pyramid.response.FileResponse,
> which does use wsgi.file_wrapper you linked to (if available).
>

This is perfect and exactly what I was looking for. Thank you.


>
> Generally in this situation I offload the file to S3 or similar, and have
> Pyramid generate a signed URL to redirect to.  Operationally much simpler.
>

A good point. I will check this out if this makes sense pricing wise. I am
not using EC2 or any Amazon infrastructure, as I have specific processing
needs for which their cloud servers are too expensive.

Br,
Mikko

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUsTO%2Bp0%2BcGLBvXOyPmhPPauGHdA2413sOq3WoXu%2B8ngeQ%40mail.gmail.com.

Reply via email to