This seems a bit odd. The POST request already returns an HTTP return code 303
along with a `location: https://www.openstreetmap.org/messages/inbox` header
for the redirect.
According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303 the
browser is supposed to ignore the payload in the body and follow the redirect.
I'm not clear why Rails is sending the payload as well in this case.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5222#issuecomment-2359060348
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/issues/5222/2359060...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev