visionmedia/express-resource — Issue #49: Unimplemented methods should return 405 status code
Author: rybesh
Created: 2012-01-26 16:30:05+00:00
State: open

Currently HTTP requests to a resource that specify a method unimplemented by that resource return a 404 Not Found status code. That is misleading, since the resource can be found—it just doesn't allow that method. It should return a 405 Method Not Allowed in this case.

This behavior (or at least the "Cannot [METHOD] [PATH]" message") seems to be coming from the connect lib; it's not clear to me whether it can or should be fixed there, or in express-resource.