So far, all the methods and headers defined must be supported by all WebDAV servers. This chapter introduces the optional locking functionality. Locking is part of Class 2 WebDAV support, so if the server's response to an OPTIONS request only has DAV: 1 (Class 1 support), none of the requests in this chapter can be used (Class 1 and Class 2 support were defined in Chapter 5, Section 5.1.1). If the server supports WebDAV Class 2, all the operations in this chapter are supported as well as all the operations listed in Chapters 6 and 7. A lock is a way of temporarily restricting access to modify a resource. The lock affects all users or principals, including the user who created the lock if the lock token is omitted in modification requests. Only the lock creator may use the lock token to modify the locked resource. This chapter covers:
|