Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC8

Bug #7240 Last-Modified not sent on HEAD requests
Submitted: 2006-03-29 08:58 UTC
From: t dot bruederli at nexbyte dot com Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Server (version 1.0.0RC3)
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 19 + 3 = ?

 
 [2006-03-29 08:58 UTC] t dot bruederli at nexbyte dot com (Thomas Bruederli)
Description: ------------ Similar problem as described in Bug #6853. Microsoft Data Access Internet Publishing Provider DAV 1.1 client shows an error message after putting a file to the DAV drive. The file is uploaded correctly but the system reports an error. While comparing the headers with other servers, I saw the Last-Modified header was missing. Sending that header (as done in GET requests) solves the problem. Test script: --------------- Just insert the following in method http_HEAD: if (isset($options['mtime'])) { header("Last-modified:".gmdate("D, d M Y H:i:s ", $options['mtime'])."GMT"); }

Comments

 [2006-03-29 10:43 UTC] hholzgra (Hartmut Holzgraefe)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.