| java.lang.Object com.flexive.war.webdav.Operation com.flexive.war.webdav.OperationPut
OperationPut | class OperationPut extends Operation (Code) | | Process a POST request for the specified resource.
A PUT that would result in the creation of a resource without an appropriately scoped parent collection MUST
fail with a 409 (Conflict).
Collections:
As defined in the HTTP/1.1 specification [RFC2068], the "PUT method requests that the enclosed entity be
stored under the supplied Request-URI." Since submission of an entity representing a collection would implicitly
encode creation and deletion of resources, this specification intentionally does not define a transmission format
for creating a collection using PUT. Instead, the MKCOL method is defined to create collections.
When the PUT operation creates a new non-collection resource all ancestors MUST already exist. If all ancestors
do not exist, the method MUST fail with a 409 (Conflict) status code. For example, if resource /a/b/c/d.html
is to be created and /a/b/c/ does not exist, then the request must fail.
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev: 1 $ |
|
|