Repository navigation
Add QUERY HTTP method - #33430
Add QUERY HTTP method#33430desiderantes wants to merge 0 commit into
QUERY HTTP method#33430Conversation
|
Thanks for the initial efforts @desiderantes - at this point the linked issue hasn't been triaged and is very unlikely to make it to the 6.2 version. We'll need thorough reviews and testing for this one. Note that since this is a new HTTP method and new feature, I don't think we will want to introduce it everywhere and for all variants of our web support. For example, I'm wondering if surfacing it as a first class citizen in |
|
@bclozel Yes no worries, just wanted to get this started somehow. I do think that supporting a new HTTP Method shouldn't be half-hearted, and ideally it would mean support everywhere, not just in the basic |
|
@desiderantes We're trying to balance maintenance and evolution, especially around parts that have been very stable for a long time. Adding this method as first class in |
|
Marking as blocked for now because #32975 (comment) |
Pankraz76
left a comment
There was a problem hiding this comment.
a lot of effort has been made thanks. Despite its a lot of code its done ver precise. Nicely done 👍
There was a problem hiding this comment.
| boolean isQuery = HttpMethod.QUERY.matches(method); | |
| if (isGet || isQuery || HttpMethod.HEAD.matches(method)) { | |
| boolean isQuery = HttpMethod.QUERY.matches(method); | |
| boolean isHead = HttpMethod.HEAD.matches(method); | |
| if (isGet || isQuery || isHead) { |
align pattern
maybe then putting this PR into draft mode would help or communicate or even close as not planned. It can be reopened anytime |
There was a problem hiding this comment.
Could it be better to use parametrized tests?
|
@desiderantes I think you closed this PR by accident. Care to reopen? |
Sorry, closed by mistake because I was refactoring and deleted the branch to move the commits to a separate branch, but forgot that I can't change the branch on a closed PR and can't reopen if the branches are the same. |
Fixes #32975