
From Ondra Machacek <omachace@redhat.com>:
Ondra Machacek has submitted this change and it was merged. Change subject: Use COPYPOSTFIELDS for HTTP POST data ...................................................................... Use COPYPOSTFIELDS for HTTP POST data Using POSTFIELDS instead of COPYPOSTFIELDS causes issue when, passing data to setopt as function call instead of variable. The explanation of COPYPOSTFIELDS from pycurl website: COPYPOSTFIELDS behaves as the POSTFIELDS option, but the original data is instead copied by the library, allowing the application to overwrite the original data after setting this option. Change-Id: If9c80abcd331adfbc5fa11f29259d9d44053596e Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1392878 Signed-off-by: Ondra Machacek <omachace@redhat.com> --- M sdk/lib/ovirtsdk4/__init__.py 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Ondra Machacek: Verified; Looks good to me, approved; Passed CI tests Juan Hernandez: Looks good to me, but someone else must approve -- To view, visit https://gerrit.ovirt.org/66206 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: If9c80abcd331adfbc5fa11f29259d9d44053596e Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Ondra Machacek <omachace@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>