Overwrite Header

Topic Last Modified: 2006-06-13

The WebDAV Overwrite header specifies whether the server should overwrite a non-null destination resource while processing a COPY Method or a MOVE Method.

Overwrite = "Overwrite" ":" ("T" | "F")

A value of "F" states that the server should not perform the COPY Method or MOVE Method if the state of the destination resource is not null.

If the Overwrite header is not included in the method, then the value of the Overwrite header defaults to "T".

If a COPY Method or MOVE Method is not performed due to the value of the Overwrite header, a 412 (Precondition Failed) status code is returned.

See Also

Other Resources

COPY Method
MOVE Method