From 59f2a0c5dcbdb2caffdcbb634c94513c0f5bee9b Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 14 Nov 2000 06:41:37 +0000 Subject: Remove the change from earlier tonight to not send a content-length of 0. Submitted by: Roy Fielding git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86956 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_protocol.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index d770dee0d3..82e97709f4 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2503,10 +2503,6 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bu apr_table_addn(r->headers_out, "Expires", date); } - if (!strcmp(apr_table_get(r->headers_out, "Content-Length"), "0")) { - apr_table_unset(r->headers_out, "Content-Length"); - } - apr_table_do((int (*) (void *, const char *, const char *)) compute_header_len, (void *) &len, r->headers_out, NULL); -- cgit v1.2.3