Not planned
Description
It's probably rather early stages, but it would be nice if at some point Spring's web frameworks supported the HTTP QUERY method.
It's probably rather early stages, but it would be nice if at some point Spring's web frameworks supported the HTTP QUERY method.
Activity
bclozel commentedon Jun 6, 2024
Do we know if this method is supported by HTTP clients and servers already?
odrotbohm commentedon Jun 6, 2024
Node 22.2 apparently already shipped it. I didn't file the ticket for immediate resolution, I just thought it would be nice to keep track of for a potential 7.0 at some point.
bclozel commentedon Jun 6, 2024
I meant servers that Spring Framework uses.
bclozel commentedon Jun 7, 2024
I have tested this and this already works already for functional handlers (both WebFlux and MVC). The annotation model is not supported at the moment because
RequestMethod
is an enum. We could consider expanding support in various places (including clients) or generally allowing custom methods as well.I'll move this to the backlog until we get more demand for this and concrete use cases.
desiderantes commentedon Aug 23, 2024
Don't have any public projects, but for what is worth:
So framework support would be a great help.
4 remaining items
vpavic commentedon Aug 29, 2024
I've also got interest in HTTP QUERY (and it eventually being supported in Spring), but from what I can see on IETF Datatracker this is still an expired draft and has been in that state for over year and a half now.
The link that was posted above (#32975 (comment)) is HTTP working group's internal draft, not an actual representation of the official state of this draft I believe (which IETF Datatracker is).
Does anyone have any insight into how likely it is this becomes an actual RFC in its current shape?
desiderantes commentedon Aug 29, 2024
It's still active as far as I can see
vpavic commentedon Aug 30, 2024
@desiderantes while the links you share do indicate there's some activity in the source repository where draft is managed, those are not authoritative sources on the actual state of this draft as per IETF - only IETF Datatracker is.
I guess the draft will eventually get updated over there too, but my point is that it doesn't appear this becoming an RFC is imminent so Spring should be careful about what it adds in the meanwhile.
IMO the safest thing to do is what @bclozel mentioned in #32975 (comment):
desiderantes commentedon Oct 1, 2024
Just wanted to update that the draft is active again
desiderantes commentedon Oct 8, 2024
Also wanted to note that, even if all custom methods are allowed, QUERY support would be beneficial, since QUERY is a safe method that can be cached and retried.
bclozel commentedon Jun 5, 2025
Superseded by #34993