version 1.78, 2007/03/28 19:32:20
|
version 1.79, 2007/04/12 18:53:39
|
|
|
Boolean contentTypeHeaderFound = HTTPMessage::lookupHeader( | Boolean contentTypeHeaderFound = HTTPMessage::lookupHeader( |
headers, "Content-Type", cimContentType, true); | headers, "Content-Type", cimContentType, true); |
| |
// ATTN: Bug 5928: Need to validate that the content type is text/xml or |
if (!contentTypeHeaderFound || |
// application/xml, and the encoding is utf-8 (or compatible) |
!HTTPMessage::isSupportedContentType (cimContentType)) |
if (!contentTypeHeaderFound) |
|
{ | { |
sendHttpError( | sendHttpError( |
queueId, | queueId, |