2
0
mirror of https://opendev.org/x/pyghmi synced 2025-08-17 16:40:19 +00:00

Merge "Fix XCC use of Redfish in OEM and python3"

This commit is contained in:
Zuul
2021-01-15 16:12:02 +00:00
committed by Gerrit Code Review

View File

@@ -950,7 +950,8 @@ class XCCClient(IMMClient):
{'Action': 'Bios.ResetBios'},
headers={
'Authorization': 'Basic %s' % base64.b64encode(
self.username + ':' + self.password),
(self.username + ':' + self.password).encode('utf8')
).decode('utf8'),
'Content-Type': 'application/json'
}
)