다음을 통해 공유


Allow-Rename Header

Topic Last Modified: 2006-06-13

The WebDAV Allow-rename header is used to explicitly allow the server to create resources whose names are distinct from those specified in a Destination Header.

As defined in the DAV 1.0 specification, the COPY Method and the MOVE Method specify the destination URL of the COPY or MOVE operation. If the server is unable to create or overwrite a resource at that location, the operation will fail. For example, if a server does not allow two resources in the same collection to have the same name, a COPY creating a resource with an identical name will fail. To prevent this, a COPY Method, BCOPY Method, MOVE Method, or BMOVE Method may include an "Allow-rename" header with a value of "t", which allows the server to create resources with names that are distinct from those specified in the Destination Header.

Allow-rename := "Allow-rename" ":" ( "t" | "f" )