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 : 21 - 12 = ?

 
 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!