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

Bug #6853 Content-Length not set on HEAD requests
Submitted: 2006-02-21 15:42 UTC
From: pear dot php dot net at chsc dot dk Assigned: hholzgra
Status: Closed Package: HTTP_WebDAV_Server (version 1.0.0rc2)
PHP Version: 5.0.5 OS: Linux
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 : 25 + 1 = ?

 
 [2006-02-21 15:42 UTC] pear dot php dot net at chsc dot dk (Christian Schmidt)
Description: ------------ In response to a HEAD request, the Content-Length is not specified like it is with GET request. This causes problems for the Microsoft Data Access Internet Publishing Provider DAV 1.1 client. When copying a file to the WebDAV drive, the client makes first makes a PUT request and then a HEAD request. If this HEAD request does not contain a Content-Length header, an error is displayed, something like "An error occured while copying the selected files" (my Windows is a Danish edition so this is just a translation). A workaround is to make http_HEAD call $this->http_GET() instead of just $this->GET(). Don't know if this has negative consequenses, though.

Comments

 [2006-03-01 02:16 UTC] hholzgra
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.