[openstreetmap/openstreetmap-website] Compress plain GPX uploads with gzip (PR #7124)
Ruben L. Mendoza
notifications at github.com
Thu Jun 18 06:11:15 UTC 2026
Rub21 left a comment (openstreetmap/openstreetmap-website#7124)
I implemented the custom uploader. GpxS3Service sets Content-Encoding: gzip on upload, so S3 serves the file gzipped and the client unzips it. On download, the clients that accept gzip get a redirect to S3.
I kept the server_gzipped flag for now, the server needs it to know when to unzip for clients without gzip. We can drop it once all the old plain GPX is migrated to gzip, but it is for other PR.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7124#issuecomment-4738586740
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7124/c4738586740 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260617/b0704f88/attachment-0001.htm>
More information about the rails-dev
mailing list