diff options
author | Ryan Bloom <rbb@apache.org> | 2000-11-14 07:41:37 +0100 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-11-14 07:41:37 +0100 |
commit | 59f2a0c5dcbdb2caffdcbb634c94513c0f5bee9b (patch) | |
tree | 2116f5d632c4323c6fd7a331215a366386bb8a29 | |
parent | Stop the default_handler from trying to deal with HEAD requests. By doing (diff) | |
download | apache2-59f2a0c5dcbdb2caffdcbb634c94513c0f5bee9b.tar.xz apache2-59f2a0c5dcbdb2caffdcbb634c94513c0f5bee9b.zip |
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
-rw-r--r-- | modules/http/http_protocol.c | 4 |
1 files changed, 0 insertions, 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); |