Skip to content

RFC 2616 10.4.6 Compliance - Method Not Allowed On Resources Method isn't Specified #204

@husobee

Description

@husobee

Hello,

I have noticed that the router isn't compliant with RFC 2616, in that currently it returns a 404 (not found) when a resource is requested with an http method that isn't specified in the application code. I believe this is incorrect, because the resource may actually exist under different methods. Due to the per Method radix tree structure of the router, it would be impossible with the current architecture to implement this compliancy. I have a working solution in my fork for this issue (where all existing unit tests pass), and will reference the pull request with this issue. I would appreciate it if you would take a look.

Thanks!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions