[openstreetmap/openstreetmap-website] Convert gzip decoding errors to a bad request error (PR #7399)

Tom Hughes notifications at github.com
Mon Sep 21 18:03:00 UTC 2026


@tomhughes commented on this pull request.



> @@ -16,22 +16,24 @@ def encoding_handled?(env)
 
     def call(env)
       if method_handled?(env) && encoding_handled?(env)

Why would `encoding_handled?` need the environment?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7399#discussion_r4064972635
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7399/review/5270111163 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260921/108a18b3/attachment-0001.htm>


More information about the rails-dev mailing list