On 2010-07-23 16:18, Thorsten Steinbrenner wrote:

> If the file is empty the timestamp is NOT updated:

This does make some kind of sense. The file allready existed with size
zero, so when your server got a PUT request with the same file with size
zero it never updated the file. After all, it didn't have to since it
was allready an empty file.

Wether this is by design, or wether it's an unintended result of how
apache handles PUT requests with content-size zero, is another question.

The obvious workaround is to PUT a file containing the current
timestamp, so that the content is actually modified when the file is
updated.

Regards
/Jonas
-- 
Jonas Eckerman
Fruktträdet & Förbundet Sveriges Dövblinda
http://www.fsdb.org/
http://www.frukt.org/
http://whatever.frukt.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to