sitory, then this header indicates the youngest * revision in the repository. * @since New in 1.7. */ #define SVN_DAV_YOUNGEST_REV_HEADER "SVN-Youngest-Rev" /** Assuming the OPTIONS was performed against a resource within a * Subversion repository, then this header indicates the UUID of the * repository. * @since New in 1.7. */ #define SVN_DAV_REPOS_UUID_HEADER "SVN-Repository-UUID" /** Presence of this in a DAV header in an OPTIONS response indicates * that the server speaks HTTP protocol v2. This header provides an * opaque URI that the client should send all custom REPORT requests * against. * @since New in 1.7. */ #define SVN_DAV_ME_RESOURCE_HEADER "SVN-Me-Resource" /** This header provides the repository root URI, suitable for use in * calculating the relative paths of other public URIs for this * repository into . (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_ROOT_URI_HEADER "SVN-Repository-Root" /** This header provides an opaque URI that the client can append a * revision to, to construct a 'revision URL'. This allows direct * read/write access to revprops via PROPFIND or PROPPATCH, and is * similar to libsvn_fs's revision objects (as distinct from "revision * roots"). (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_REV_STUB_HEADER "SVN-Rev-Stub" /** This header provides an opaque URI that the client can append * PEGREV/PATH to, in order to construct URIs of pegged objects in the * repository, similar to the use of a "revision root" in the * libsvn_fs API. (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_REV_ROOT_STUB_HEADER "SVN-Rev-Root-Stub" /** This header provides an opaque URI which represents a Subversion * transaction (revision-in-progress) object. It is suitable for use * in fetching and modifying transaction properties as part of a * commit process, similar to the svn_fs_txn_t object (as distinct * from a "txn root"). (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_TXN_STUB_HEADER "SVN-Txn-Stub" /** Companion to @c SVN_DAV_TXN_STUB_HEADER, used when a POST request * returns @c SVN_DAV_VTXN_NAME_HEADER in response to a client * supplied name. (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_VTXN_STUB_HEADER "SVN-VTxn-Stub" /** This header provides an opaque URI which represents the root * directory of a Subversion transaction (revision-in-progress), * similar to the concept of a "txn root" in the libsvn_fs API. The * client can append additional path segments to it to access items * deeper in the transaction tree as part of a commit process. (HTTP * protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_TXN_ROOT_STUB_HEADER "SVN-Txn-Root-Stub" /** Companion to @c SVN_DAV_TXN_ROOT_STUB_HEADER, used when a POST * request returns @c SVN_DAV_VTXN_NAME_HEADER in response to a * client supplied name. (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_VTXN_ROOT_STUB_HEADER "SVN-VTxn-Root-Stub" /** This header is used in the POST response to tell the client the * name of the Subversion transaction created by the request. It can * then be appended to the transaction stub and transaction root stub * for access to the properties and paths, respectively, of the named * transaction. (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_TXN_NAME_HEADER "SVN-Txn-Name" /** This header is used in the POST request, to pass a client supplied * alternative transaction name to the server, and in the POST * response, to tell the client that the alternative transaction * resource names should be used. (HTTP protocol v2 only) * @since New in 1.7. */ #define SVN_DAV_VTXN_NAME_HEADER "SVN-VTxn-Name" /** This header is used in the OPTIONS response to identify named * skel-based POST request types which the server is prepared to * handle. (HTTP protocol v2 only) * @since New in 1.8. */ #define SVN_DAV_SUPPORTED_POSTS_HEADER "SVN-Supported-Posts" /** This header is used in the OPTIONS response to indicate if the server * wants bulk update requests (Prefer) or only accepts skelta requests (Off). * If this value is On both options are allowed. * @since New in 1.8. */ #define SVN_DAV_ALLOW_BULK_UPDATES "SVN-Allow-Bulk-Updates" /** Assuming the request target is a Subversion repository resource, * this header is returned in the OPTIONS response to indicate whether * the repository supports the merge tracking feature ("yes") or not * ("no"). * @since New in 1.8. */ #define SVN_DAV_REPOSITORY_MERGEINFO "SVN-Repository-MergeInfo" /** * @name Fulltext MD5 headers * * These headers are for client and server to verify that the base * and the result of a change transmission are the same on both * sides, regardless of what transformations (svndiff deltification, * gzipping, etc) the data may have gone through in between. * * The result md5 is always used whenever file contents are * transferred, because every transmission has a resulting text. * * The base md5 is used to verify the base text against which svndiff * data is being applied. Note that even for svndiff transmissions, * base verification is not strictly necessary (and may therefore be * unimplemented), as any error will be caught by the verification of * the final result. However, if the problem is that the base text is * corrupt, the error will be caught earlier if the base md5 is used. * * Normal WebDAV or DeltaV clients don't use these. * @{ */ #define SVN_DAV_BASE_FULLTEXT_MD5_HEADER "X-SVN-Base-Fulltext-MD5" #define SVN_DAV_RESULT_FULLTEXT_MD5_HEADER "X-SVN-Result-Fulltext-MD5" /** @} */ /* ### should add strings for the various XML elements in the reports ### and things. also the custom prop names. etc. */ /** The svn-specific object that is placed within a response. * * @defgroup svn_dav_error Errors in svn_dav * @{ */ /** The error object's namespace */ #define SVN_DAV_ERROR_NAMESPACE "svn:" /** The error object's tag */ #define SVN_DAV_ERROR_TAG "error" /** @} */ /** General property (xml) namespaces that will be used by both ra_dav * and mod_dav_svn for marshalling properties. * * @defgroup svn_dav_property_xml_namespaces DAV property namespaces * @{ */ /** A property stored in the fs and wc, begins with 'svn:', and is * interpreted either by client or server. */ #define SVN_DAV_PROP_NS_SVN "http://subversion.tigris.org/xmlns/svn/" /** A property stored in the fs and wc, but totally ignored by svn * client and server. * * A property simply invented by the users. */ #define SVN_DAV_PROP_NS_CUSTOM "http://subversion.tigris.org/xmlns/custom/" /** A property purely generated and consumed by the network layer, not * seen by either fs or wc. */ #define SVN_DAV_PROP_NS_DAV "http://subversion.tigris.org/xmlns/dav/"