From: Gareth S B. <bes...@us...> - 2005-06-07 20:02:01
|
Update of /cvsroot/sblim/sfcb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15962 Modified Files: wbemcat Log Message: fix for missing CIMxxx headers Index: wbemcat =================================================================== RCS file: /cvsroot/sblim/sfcb/wbemcat,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- wbemcat 6 Jun 2005 18:59:06 -0000 1.5 +++ wbemcat 7 Jun 2005 20:01:52 -0000 1.6 @@ -66,8 +66,9 @@ # Necessary preamble specifying the length of the CIM-XML data my @preamble = ("POST /cimom HTTP/1.1\n", "Host:\n", - "Content-Type: application/xml; charset=\"utf-8\"\n". - "Content-Length: ", $size, "\n\n\n"); + "Content-Type: application/xml; charset=\"utf-8\"\n", + "Content-Length: ", $size, "CIMProtocolVersion: 1.0\n", + "CIMOperation: MethodCall\n", "\n\n\n"); # Pipe STDOUT to nc command # DEBUG: Comment out this line to see what data gets sent to the CIMOM |