2
0
mirror of https://opendev.org/x/pyghmi synced 2026-08-28 09:36:43 +00:00

Merge "fix remote console function for thinkserver"

This commit is contained in:
Zuul
2021-09-01 12:16:08 +00:00
committed by Gerrit Code Review
+1
View File
@@ -792,6 +792,7 @@ class OEMHandler(generic.OEMHandler):
conn.request('POST', '/rpc/WEBSES/create.asp', params, headers)
rsp = conn.getresponse()
if rsp.status == 200:
conn.cookies = {}
body = rsp.read().split('\n')
session_line = None
for line in body: