Github user ChristopherSchultz commented on the issue:
https://github.com/apache/tomcat/pull/96
I think 405 is more appropriate when the method is in fact not allowed
(readOnly). As for POST, there is nothing "writey" about POST, whereas PUT and
DELETE have definite "write" semantics. The fact that POST refers to GET is an
irrelevant implementation detail.
Plenty of (non-WebDAV) GET requests cause irreversible changes on the
server (due to the implementation of a particular web application, not a
vanilla web server itself) even when the official standard suggests that GET
should be idempotent and read-only.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]