[OpenStreetMap] #4636: API User Details returns 404 instead of 405

OpenStreetMap trac at noreply.openstreetmap.org
Wed Oct 17 15:08:33 GMT 2012


#4636: API User Details returns 404 instead of 405
-----------------------+-------------------------
  Reporter:  andrew@…  |      Owner:  rails-dev@…
      Type:  defect    |     Status:  new
  Priority:  minor     |  Milestone:
 Component:  api       |    Version:
Resolution:            |   Keywords:
-----------------------+-------------------------

Comment (by TomH):

 This is a "feature" of rails where if you have routes that are qualified
 by what methods they accept (as all ours are) then when they fail to match
 they are ignored and you eventually get a 404 because no route matched.

 There isn't really anything we can (easily) do about this I'm afraid.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4636#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list