@AnyVerb annotation makes web methods explicitly accept any HTTP verb#205
@AnyVerb annotation makes web methods explicitly accept any HTTP verb#205daniel-beck wants to merge 2 commits intojenkinsci:masterfrom
Conversation
jglick
left a comment
There was a problem hiding this comment.
Why would we do this? Seems to be just encouraging people to do the wrong thing.
In cases where endpoints integrate with code that sends GET requests (IIRC, all the |
|
We should do jenkinsci/jenkins#4623 and then there should be few endpoints I can think of that actually accept both.
|
|
Oh and |
I want an explicit version of the implied default. Alternatively, people could use
@GET @POSTon the same method (other verbs we rarely care about).Can be considered preparation for jenkinsci/jenkins-test-harness#133
WIP. Untested.