httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/server util_script.c
Date Wed, 16 Jun 2004 16:07:43 GMT
jorton      2004/06/16 09:07:43

  Modified:    server   util_script.c
  Log:
  * 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.
  
  Revision  Changes    Path
  1.90      +3 -0      httpd-2.0/server/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util_script.c,v
  retrieving revision 1.89
  retrieving revision 1.90
  diff -d -w -u -r1.89 -r1.90
  --- util_script.c	11 May 2004 18:55:49 -0000	1.89
  +++ util_script.c	16 Jun 2004 16:07:43 -0000	1.90
  @@ -556,6 +556,9 @@
           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);
           }
  
  
  

Mime
View raw message