Juan Hernandez has submitted this change and it was merged.
Change subject: Clear the POST body before sending requests
......................................................................
Clear the POST body before sending requests
Currently the SDK doesn't clear the cURL POST body before sending
requests, as a result the body of a previous POST request can interfere
with a current GET request, causing an error in the server side. This
patch changes the SDK so that the POST body is cleared before every
request.
Change-Id: I9df5a89dec28f4f252dc99fcc774ede017707d30
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
(cherry picked from commit 98f40972498e13c11c1c20e2c07ad8ae02f862b7)
---
M sdk/lib/ovirtsdk4/http.rb
1 file changed, 3 insertions(+), 0 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/60395
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9df5a89dec28f4f252dc99fcc774ede017707d30
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>