Add RFC 10008 (The HTTP QUERY Method) Support
This change adds support for RFC 10008 (The HTTP QUERY Method). QUERY is a safe an idempotent method that carries a body. This implementation adds support for redirections, caching, mandatory content type, and ALLOW.
EE specification link for these changes ? No test that parameters processing works (probably it does).
It isn't part of the Servlet spec yet so we can't modify specification classes.
This looks like a reasonable proposal. I'll look at getting the Servlet specification updated.
EE specification link for these changes ?
Sorry, no EE spec change at this time (Honestly I don't' know where or how to start doing that)
No test that parameters processing works (probably it does).
Added
It isn't part of the Servlet spec yet so we can't modify specification classes.
Should I remove that addition then?
This looks like a reasonable proposal. I'll look at getting the Servlet specification updated.
Thank you! Yes, RFC 10008 is a very simple addition, hopefully we can get it when 12 gets released
Coded nearly the same this morning. It'd be awesome to have a QUERY method. To avoid P2 data in URLs, QUERY would be just great to stop abusing POST.
I'd like to contribute the AJP support, messages and JSP support if this feature is accepted.
See https://github.com/jakartaee/servlet/pull/1069
Implemented with a few minor variations. Obviously, only available in Tomcat 12 due to the API changes.