Hacker News new | ask | show | jobs
by chromoblob 1113 days ago
> If they are not recognized, they are treated as POST. This is a requirement of the HTTP spec.

That's not true.

"An origin server SHOULD return the status code ... 501 (Not Implemented) if the method is unrecognized or not implemented by the origin server." https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5....

1 comments

When you use a framework, and add a route that uses QUERY you 'implement' it. My point is that when you do, it will all just work.