From 2c06c76cb0a3be9a9f5e94d31ecd3e9e943a3079 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 16 Jun 2004 16:07:43 +0000 Subject: [PATCH] * server/util_script.c (ap_scan_script_header_err_core): Set Content-Range in r->headers_out, so that the byterange filter knows to do nothing for a CGI script which produced a content-range. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103971 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_script.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/util_script.c b/server/util_script.c index 5ac44dd739..922450c5cf 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -556,6 +556,9 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer, else if (!strcasecmp(w, "Content-Length")) { apr_table_set(r->headers_out, w, l); } + else if (!strcasecmp(w, "Content-Range")) { + apr_table_set(r->headers_out, w, l); + } else if (!strcasecmp(w, "Transfer-Encoding")) { apr_table_set(r->headers_out, w, l); } -- 2.50.1