-
Improvement
-
Resolution: Fixed
-
Minor
-
Plugin version 1.8.13
When I use http-request plugin to issue HTTP DELETE with request body, it throws "HTTP/1.1 400 BAD REQUEST" error response with detailed message "Failed to decode JSON object: Expecting value: line 1 column 1 (char 0)". Per checking with Janario, it is the limitation in HttpClient that HttpDelete doesn't support HttpEntity(body). It would be great to support firing HTTP DELETE request with body.
[JENKINS-43147] Support Request Body for HTTP DELETE
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Code changed in jenkins
User: Janario Oliveira
Path:
src/main/java/jenkins/plugins/http_request/util/HttpBodyDelete.java
src/main/java/jenkins/plugins/http_request/util/HttpClientUtil.java
http://jenkins-ci.org/commit/http-request-plugin/670eefcf988afd1788da3ccd5429246422f367b7
Log:
JENKINS-43147- Added support to send body in delete method