]> granicus.if.org Git - apache/commitdiff
* server/util_script.c (ap_scan_script_header_err_core): Set
authorJoe Orton <jorton@apache.org>
Wed, 16 Jun 2004 16:07:43 +0000 (16:07 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 16 Jun 2004 16:07:43 +0000 (16:07 +0000)
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

index 5ac44dd739d685d9d88012be989950593fe4ffea..922450c5cf0557bec0162a4aa69c078f78dba94e 100644 (file)
@@ -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);
         }