version 1.1.18.4, 2007/12/14 20:47:56
|
version 1.2, 2007/03/13 17:58:52
|
|
|
{ | { |
MessageLoaderParms mlParms( | MessageLoaderParms mlParms( |
"ExportClient.CIMExportResponseDecoder.EMPTY_RESPONSE", | "ExportClient.CIMExportResponseDecoder.EMPTY_RESPONSE", |
"Connection closed by CIM Server."); |
"Empty HTTP response message."); |
String mlString(MessageLoader::getMessage(mlParms)); | String mlString(MessageLoader::getMessage(mlParms)); |
AutoPtr<CIMClientMalformedHTTPException> malformedHTTPException( | AutoPtr<CIMClientMalformedHTTPException> malformedHTTPException( |
new CIMClientMalformedHTTPException(mlString)); | new CIMClientMalformedHTTPException(mlString)); |
|
|
} | } |
} | } |
| |
PEG_TRACE_CSTRING(TRC_XML_IO, Tracer::LEVEL2, |
Tracer::trace(TRC_XML_IO, Tracer::LEVEL2, "%s", |
httpMessage->message.getData()); | httpMessage->message.getData()); |
| |
// | // |
|
|
// | // |
// Check for unsupported protocol version | // Check for unsupported protocol version |
// | // |
if (!XmlReader::isSupportedProtocolVersion(protocolVersion)) |
if (!String::equalNoCase(protocolVersion, "1.0")) |
{ | { |
MessageLoaderParms mlParms( | MessageLoaderParms mlParms( |
"ExportClient.CIMExportResponseDecoder.UNSUPPORTED_PROTOCOL", | "ExportClient.CIMExportResponseDecoder.UNSUPPORTED_PROTOCOL", |