Michael Pasternak has uploaded a new change for review. Change subject: sdk: explicitly ask for reply in xml ......................................................................
sdk: explicitly ask for reply in xml Change-Id: I5f9b9e6a68e352371e0150b7ef5b2298656cd2cd Signed-off-by: Michael Pasternak <[email protected]> --- M src/ovirtsdk/web/connection.py 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-sdk refs/changes/00/12500/1 diff --git a/src/ovirtsdk/web/connection.py b/src/ovirtsdk/web/connection.py index 34e526c..d17eebf 100644 --- a/src/ovirtsdk/web/connection.py +++ b/src/ovirtsdk/web/connection.py @@ -134,6 +134,7 @@ def __createStaticHeaders(self, username, password): auth = base64.encodestring("%s:%s" % (username, password)).strip() return {"Content-type" : "application/xml", + "Accept" : "application/xml", "Authorization": "Basic %s" % auth} def __createDynamicHeaders(self): -- To view, visit http://gerrit.ovirt.org/12500 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5f9b9e6a68e352371e0150b7ef5b2298656cd2cd Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
