version 1.95, 2003/08/26 20:46:28
|
version 1.97, 2003/10/08 00:02:55
|
|
|
{ | { |
out << "<NAMESPACE NAME=\"" << p << "\"/>\n"; | out << "<NAMESPACE NAME=\"" << p << "\"/>\n"; |
} | } |
delete nameSpaceCopy; |
free(nameSpaceCopy); |
| |
out << "</LOCALNAMESPACEPATH>\n"; | out << "</LOCALNAMESPACEPATH>\n"; |
} | } |
|
|
// do that in client today. Permanent change is to retry until spec | // do that in client today. Permanent change is to retry until spec |
// updated. This change is temp to finish tests or until the retry | // updated. This change is temp to finish tests or until the retry |
// installed. Required because of change to wbemservices cimom | // installed. Required because of change to wbemservices cimom |
#if defined PEGASUS_SNIA_INTEROP_TEST || defined PEGASUS_FORCE_POST_METHOD |
|
out << "POST /cimom HTTP/1.1\r\n"; |
|
#else |
|
if (httpMethod == HTTP_METHOD_M_POST) | if (httpMethod == HTTP_METHOD_M_POST) |
{ | { |
out << "M-POST /cimom HTTP/1.1\r\n"; | out << "M-POST /cimom HTTP/1.1\r\n"; |
|
|
{ | { |
out << "POST /cimom HTTP/1.1\r\n"; | out << "POST /cimom HTTP/1.1\r\n"; |
} | } |
#endif |
|
out << "HOST: " << host << "\r\n"; | out << "HOST: " << host << "\r\n"; |
out << "Content-Type: application/xml; charset=\"utf-8\"\r\n"; | out << "Content-Type: application/xml; charset=\"utf-8\"\r\n"; |
out << "Content-Length: " << contentLength << "\r\n"; | out << "Content-Length: " << contentLength << "\r\n"; |