From: Joe Orton Date: Wed, 16 Jun 2004 16:07:43 +0000 (+0000) Subject: * server/util_script.c (ap_scan_script_header_err_core): Set X-Git-Tag: pre_ajp_proxy~146 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c06c76cb0a3be9a9f5e94d31ecd3e9e943a3079;p=apache * 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 --- 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); }