Route filtered by method returns 404

I’m posting here in relation to a problem I reported with
OpenStreetMaps,
which uses Ruby on Rails. The bug I reported can be viewed at:

https://trac.openstreetmap.org/ticket/4636

In short, the route table had a matching URL, but not a matching method.
In
that case, Ruby apparently falls through to report a “404 Not Found”
message, even though the request URL was in fact matched. IMO, when a
URL
matches, but is filtered out due to no matching method, then the
appropriate return message should be “405 Method Not Allowed” (with an
Allow header that lists the methods implemented for the matching URL).

Is this a known problem?

Should I report it as a bug?

Cheers,
Andrew

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs