]> granicus.if.org Git - apache/commitdiff
Remove the change from earlier tonight to not send a content-length of
authorRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 06:41:37 +0000 (06:41 +0000)
committerRyan Bloom <rbb@apache.org>
Tue, 14 Nov 2000 06:41:37 +0000 (06:41 +0000)
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

index d770dee0d31cafadf875f5f618a4adb253739322..82e97709f442fcd7d12764888761311eb31f3adc 100644 (file)
@@ -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);