version 1.110, 2007/03/27 17:31:35
|
version 1.111, 2007/04/12 18:52:27
|
|
|
| |
Boolean contentTypeHeaderFound = HTTPMessage::lookupHeader( | Boolean contentTypeHeaderFound = HTTPMessage::lookupHeader( |
headers, "Content-Type", cimContentType, true); | headers, "Content-Type", cimContentType, true); |
|
if (!contentTypeHeaderFound || |
// ATTN: Bug 5928: Need to validate that the content type is text/xml or |
!HTTPMessage::isSupportedContentType (cimContentType)) |
// application/xml, and the encoding is utf-8 (or compatible) |
|
if (!contentTypeHeaderFound) |
|
{ | { |
MessageLoaderParms parms( | MessageLoaderParms parms( |
"Server.CIMOperationRequestDecoder.CIMCONTENTTYPE_SYNTAX_ERROR", | "Server.CIMOperationRequestDecoder.CIMCONTENTTYPE_SYNTAX_ERROR", |