brian       98/05/07 23:29:35

  Modified:    src      CHANGES http_core.c http_protocol.c
  Log:
  PR: 1474
  
    *) Correct a protocol issue - always send the "Accept-ranges: bytes"
       header in the default_handler. [Brian Behlendorf]
  
  Revision  Changes    Path
  1.307     +3 -0      apache-1.2/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/CHANGES,v
  retrieving revision 1.306
  retrieving revision 1.307
  diff -u -r1.306 -r1.307
  --- CHANGES   1998/05/06 02:32:19     1.306
  +++ CHANGES   1998/05/08 06:29:32     1.307
  @@ -1,5 +1,8 @@
   Changes with Apache 1.2.7
   
  +  *) Correct a protocol issue - always send the "Accept-ranges: bytes"
  +     header in the default_handler. [Brian Behlendorf]
  +
     *) Fix handling of %Z in timefmt strings for those platforms with no time
        zone information in their tm struct. [Paul Eggert <[EMAIL PROTECTED]>]
        PR #754
  
  
  
  1.85      +1 -0      apache-1.2/src/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/http_core.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- http_core.c       1998/04/13 11:45:38     1.84
  +++ http_core.c       1998/05/08 06:29:33     1.85
  @@ -1374,6 +1374,7 @@
         table_set (r->headers_out, "Content-MD5", md5digest(r->pool, f));
       }
   
  +    table_set (r->headers_out, "Accept-Ranges", "bytes");
       rangestatus = set_byterange(r);
       send_http_header (r);
       
  
  
  
  1.136     +0 -1      apache-1.2/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.2/src/http_protocol.c,v
  retrieving revision 1.135
  retrieving revision 1.136
  diff -u -r1.135 -r1.136
  --- http_protocol.c   1998/04/13 11:45:40     1.135
  +++ http_protocol.c   1998/05/08 06:29:33     1.136
  @@ -135,7 +135,6 @@
             range = table_get(r->headers_in, "Request-Range");
   
       if (!range || strncasecmp(range, "bytes=", 6)) {
  -     table_set (r->headers_out, "Accept-Ranges", "bytes");
        return 0;
       }
   
  
  
  

Reply via email to