Can http QUERY method be used in helidon (nima) #7320
hrstoyanov
started this conversation in
General
Replies: 1 comment 1 reply
-
The API allows the use of any method name: E.g. WebServer.builder()
.routing(rules -> rules
.route(Http.Method.create("QUERY"), (req, res) -> {
String query = req.content().as(String.class);
String result = "...";
res.send(result);
}))
.build()
.start(); We can add explicit support for this in the Helidon APIs without breaking backward compatibility. However, this depends on the proposal getting finalized as an RFC, and also depends on wether the Helidon team agrees to include such support. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-method-w-body.html
Beta Was this translation helpful? Give feedback.
All reactions