This class implements the Mkcol command for WebDAV operations on Xindice.
MKCOL command creates new collection at a specified location. There must be no existing collection at the specified location. Newly created collection will be empty. WebDAV specification allows request to have a body that may contain instructions for creating child resources, but this behavior is not suppoted.
Operation possible status codes include:
- 201 (Created) - The collection or structured resource was created in its entirety.
- 403 (Forbidden) - This indicates at least one of two conditions: 1) the server does not allow the creation of collections at the given location in its namespace, or 2) the parent collection of the Request-URI exists but cannot accept members.
- 405 (Method Not Allowed) - MKCOL can only be executed on a deleted/non-existent resource.
- 409 (Conflict) - A collection cannot be made at the Request-URI until one or more intermediate collections have been created.
- 415 (Unsupported Media Type)- The server does not support the request type of the body.
@author
Jan Metzner
@author
Gianugo Rabellino
@version $Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $