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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/fIyFUcNJ64MJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to