version 1.109, 2004/07/31 00:47:19
|
version 1.110, 2004/08/03 16:40:49
|
|
|
// encoding. The default is on. to turn off, set this variable to zero. | // encoding. The default is on. to turn off, set this variable to zero. |
// This should be removed when stable. This should only be turned off in | // This should be removed when stable. This should only be turned off in |
// a debugging/testing environment. | // a debugging/testing environment. |
|
#ifdef PEGASUS_DEBUG |
static const char *clientTransferEncodingOff = | static const char *clientTransferEncodingOff = |
getenv("PEGASUS_HTTP_TRANSFER_ENCODING_REQUEST"); | getenv("PEGASUS_HTTP_TRANSFER_ENCODING_REQUEST"); |
if (!clientTransferEncodingOff || *clientTransferEncodingOff != '0') | if (!clientTransferEncodingOff || *clientTransferEncodingOff != '0') |
|
#endif |
out << "TE: chunked, trailers" << "\r\n"; | out << "TE: chunked, trailers" << "\r\n"; |
| |
if (httpMethod == HTTP_METHOD_M_POST) | if (httpMethod == HTTP_METHOD_M_POST) |
|
|
// encoding. The default is on. to turn off, set this variable to zero. | // encoding. The default is on. to turn off, set this variable to zero. |
// This should be removed when stable. This should only be turned off in | // This should be removed when stable. This should only be turned off in |
// a debugging/testing environment. | // a debugging/testing environment. |
|
#ifdef PEGASUS_DEBUG |
static const char *clientTransferEncodingOff = | static const char *clientTransferEncodingOff = |
getenv("PEGASUS_HTTP_TRANSFER_ENCODING_REQUEST"); | getenv("PEGASUS_HTTP_TRANSFER_ENCODING_REQUEST"); |
if (!clientTransferEncodingOff || *clientTransferEncodingOff != '0') | if (!clientTransferEncodingOff || *clientTransferEncodingOff != '0') |
|
#endif |
out << "TE: chunked, trailers" << "\r\n"; | out << "TE: chunked, trailers" << "\r\n"; |
| |
if (httpMethod == HTTP_METHOD_M_POST) | if (httpMethod == HTTP_METHOD_M_POST) |