Change in ovirt-engine-sdk-ruby[master]: Clear the POST body before sending requests

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@redhat.com> --- M sdk/lib/ovirtsdk4/http.rb 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests -- To view, visit https://gerrit.ovirt.org/60377 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I9df5a89dec28f4f252dc99fcc774ede017707d30 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine-sdk-ruby Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
juan.hernandez@redhat.com