[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dav-cvs
Subject:    [dav-checkins] CVS: mod_dav mod_dav.c
From:       Greg Stein (CVS user) <gjscvs () nebula ! lyra ! org>
Date:       2000-05-22 12:04:54
[Download RAW message or body]

gjscvs      00/05/22 05:04:54

  Modified:    .        mod_dav.c
  Log:
  on a GET, bail if r->header_only is set (a HEAD request). Note that the
      other if-branch uses ap_run_sub_req() which does the Right Thing when
      header_only is set.
  
  Revision  Changes    Path
  1.110     +5 -0      mod_dav/mod_dav.c
  
  Index: mod_dav.c
  ===================================================================
  RCS file: /home/cvsroot/mod_dav/mod_dav.c,v
  retrieving revision 1.109
  retrieving revision 1.110
  diff -u -r1.109 -r1.110
  --- mod_dav.c	2000/05/17 07:30:06	1.109
  +++ mod_dav.c	2000/05/22 12:04:53	1.110
  @@ -819,6 +819,11 @@
   	    return dav_handle_err(r, err, NULL);
   	}
   
  +        if (r->header_only) {
  +            ap_send_http_header(r);
  +            return DONE;
  +        }
  +
   	/* ### use DAV_MODE_READ_SEEKABLE if a Content-Range is present */
   	mode = DAV_MODE_READ;
   
  
  
  

_______________________________________________
dav-checkins maillist  -  dav-checkins@lyra.org
http://dav.lyra.org/mailman/listinfo/dav-checkins

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic