Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is PUT supported on Winstone? I receive a 405 when sending requests #339

Open
eitzenbe opened this issue Jul 27, 2023 · 1 comment
Open
Labels

Comments

@eitzenbe
Copy link

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

Ubuntu/JDK17

Reproduction steps

Use RestAssured to send a PUT Request with JSON body to winstone

Expected Results

Statuscode 2xx

Actual Results

Statuscode 405

Anything else?

No response

@eitzenbe eitzenbe added the bug label Jul 27, 2023
@MarkEWaite
Copy link
Contributor

Based on the tests that run on Jenkins core (using winstone), I assume that the PUT verb is accepted by Winstone.

doActionFilterTest

However, since I see no other use of the PUT verb in Jenkins and the primary reason for the existence of Winstone is to support Jenkins, I would not be surprised if there were issues using PUT with Winstone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants