@@ -325,7 +325,8 @@
conn.request("POST", "/cimom", body, headers)
resp = conn.getresponse()
if not resp.getheader("content-length"):
- raise Exception("Authentication (or request) Failed!")
+ raise Exception("Request Failed: %d %s" %
+ (resp.status, resp.reason))
resp.read()
I was able to track the issue down to a problem in the header. I found
info on the content type here:
http://www.dmtf.org/standards/documents/WBEM/DSP200.html (section 4.2.1)
http://www.openpegasus.org/uploads/40/3452/WBEMIndications.pdf (page 56)
Both of these documents are fairly old, but this change seems to work
using Pegasus 2.7.0.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com