> Hi, > Here is what you can see in webdav_access_log : > > "HEAD /b2web/jumal/private/INSTALL.TXT HTTP/1.1" 404 607 > "PUT /b2web/jumal/private/INSTALL.TXT HTTP/1.1" 201 > "HEAD /b2web/jumal/private/INSTALL.TXT HTTP/1.1" 200 - > "PUT /b2web/jumal/private/INSTALL.TXT HTTP/1.1" 204 - > "HEAD /b2web/jumal/private/NSTALL.TXT HTTP/1.1" 200 - > > Adding some debug code, I realized that webfolders were > -> firstly doing a PUT request to create an empty file > (contentLength was defined but equal to 0) > -> only then performing a PUT request with the file's content. > > I'm pretty sure of this behaviour. The only thing I can't really > understand is why second PUT returns 204 ? Are log writtings > synchronized ?
If the resource already exists, PUT returns 204 as the success code. Otherwise, it's 201 (created). Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
