[openstreetmap/openstreetmap-website] `/messages/{id}/mark?mark={unread/read}` returns HTML code (Issue #5222)
mmd
notifications at github.com
Wed Sep 18 17:42:20 UTC 2024
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/2359060348 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240918/1d61ab1b/attachment.htm>
More information about the rails-dev
mailing list