version 1.169.4.6, 2013/07/20 18:32:39
|
version 1.169.4.7, 2013/09/14 23:08:17
|
|
|
bool binaryRequest, | bool binaryRequest, |
bool binaryResponse) | bool binaryResponse) |
{ | { |
char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; |
char nn[] = { char('0' + (rand() % 10)), char('0' + (rand() % 10)),'\0'}; |
| |
// ATTN: KS 20020926 - Temporary change to issue only POST. This may | // ATTN: KS 20020926 - Temporary change to issue only POST. This may |
// be changed in the DMTF CIM Operations standard in the future. | // be changed in the DMTF CIM Operations standard in the future. |
|
|
} | } |
if (httpMethod == HTTP_METHOD_M_POST) | if (httpMethod == HTTP_METHOD_M_POST) |
{ | { |
char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; |
char nn[] = {char('0'+(rand() % 10)),char('0' + (rand() % 10)),'\0'}; |
| |
out << STRLIT("Ext:\r\n" | out << STRLIT("Ext:\r\n" |
"Cache-Control: no-cache\r\n" | "Cache-Control: no-cache\r\n" |
|
|
const ContentLanguageList& contentLanguages, | const ContentLanguageList& contentLanguages, |
Uint32 contentLength) | Uint32 contentLength) |
{ | { |
char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; |
char nn[] = { char('0' + (rand() % 10)), char('0' + (rand() % 10)), '\0' }; |
| |
if (httpMethod == HTTP_METHOD_M_POST) | if (httpMethod == HTTP_METHOD_M_POST) |
{ | { |
|
|
const ContentLanguageList& contentLanguages, | const ContentLanguageList& contentLanguages, |
Uint32 contentLength) | Uint32 contentLength) |
{ | { |
char nn[] = { '0' + (rand() % 10), '0' + (rand() % 10), '\0' }; |
char nn[] = { char('0' + (rand() % 10)), char('0' + (rand() % 10)), '\0' }; |
| |
out << STRLIT("HTTP/1.1 " HTTP_STATUS_OK "\r\n" | out << STRLIT("HTTP/1.1 " HTTP_STATUS_OK "\r\n" |
"Content-Type: application/xml; charset=utf-8\r\n"); | "Content-Type: application/xml; charset=utf-8\r\n"); |