Share via


Replication and the MKCOL Method

Topic Last Modified: 2006-06-12

The MKCOL Method is used to add a new collection resource to an existing collection resource. The MKCOL Method in the context of WebDAV replication is used to upload the creation of a new collection resource. The server returns the updated resourcetag and repl-uid of the affected collection resource in the response headers.

Normal MKCOL method

If the client issues a normal MKCOL Method request without any headers specific to replication, the request will have the default behavior as defined in HTTP/1.1 and WebDAV protocol, except that the server will return the resourcetag and repl-uid of the affected resource. The MKCOL Method will fail with 409 Conflict if the client tries to re-create a collection that already exists.