Re: [pylons-discuss] Pyramid, partial and resumable downloads, HTTP Accept Ranges

2022-07-08 Thread 'Jonathan Vanasco' via pylons-discuss
^ ditto On Tuesday, June 28, 2022 at 6:28:23 PM UTC-4 the...@luhn.com wrote: > Easiest way is to not do it :) I try to offload downloads/uploads to a > service like S3. Let somebody else do the heavy lifting. If > authentication is needed, I’ll generate a presigned URL in Pyramid and >

Re: [pylons-discuss] Pyramid, partial and resumable downloads, HTTP Accept Ranges

2022-06-28 Thread Theron Luhn
Easiest way is to not do it :) I try to offload downloads/uploads to a service like S3. Let somebody else do the heavy lifting. If authentication is needed, I’ll generate a presigned URL in Pyramid and redirect. AFAIA, Accept-Ranges is the only real HTTP solution for resumable/multipart

[pylons-discuss] Pyramid, partial and resumable downloads, HTTP Accept Ranges

2022-06-28 Thread Mikko Ohtamaa
Hi, What would be an easy way to support partial downloads / resumes with Pyramid? Namely HTTP Accept Ranges come to my mind, but there could be others. - Serving files directly from FS using FileResponse - Using gunicorn as a web server