3 ms·
> 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 co
by chromoblob 3y 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.1 https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5....
- treve 3y agoWhen 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.