WebDAV-Related Headers

Depth
Some WebDAV methods can operate on a single resources and on nested groups of collections of resources. The Depth controls the level of hierarchy when these methods are applied to collections. It can contain ``0'', ``1'' or ``infinity'' as a value. A value of ``0'' means that the method is applied to the directory alone, ``1'' - it is applied to the directory alone and its files, without the subdirectories, ``infinity'' - it is applied to the directory, its files and its subdirectories. When a method is applied to a single resource, its Depth is then 0, since a single resource has no hierarchy anyway.
Timeout
The Timeout request header is sent by the client in LOCK requests to specify a desired timeout of a lock; the server, however may not take into account the value of the timeout and can specify a different timeout in the response of the LOCK request.



Иван Иванов 2006-06-23