Change in ovirt-engine-sdk[sdk_3.5]: sdk: Add X-Ovirt-Expect and Expect

juan.hernandez at redhat.com juan.hernandez at redhat.com
Wed Jun 4 13:45:43 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: sdk: Add X-Ovirt-Expect and Expect
......................................................................


sdk: Add X-Ovirt-Expect and Expect

The HTTP Expect header is rejected by the Apache web server if its
values is anythiong other than 100-continue. To avoid problems the
engine explicitly removes it, and it accepts an alternative
X-Ovirt-Except header, with the same values and semantics. This patch
changes the SDK so that it will automatically add the alternative header
when the user adds the original one.

Change-Id: I2216c2256699d81dbb1a553177af39bb6a42fb3d
Related: https://bugzilla.redhat.com/1093784
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
(cherry picked from commit cbff174d785d55e16f76cb597b2f8a7f77ca2f19)
---
M src/ovirtsdk/infrastructure/proxy.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/28364
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2216c2256699d81dbb1a553177af39bb6a42fb3d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_3.5
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list