src/server/plugins/postgresql/pgtest.h

branch
webdav
changeset 315
b608b7aa43a6
parent 313
3ad0b65ec838
child 316
4090fc1b1c52
--- a/src/server/plugins/postgresql/pgtest.h	Mon Apr 25 22:38:05 2022 +0200
+++ b/src/server/plugins/postgresql/pgtest.h	Tue Apr 26 14:33:58 2022 +0200
@@ -63,7 +63,7 @@
 /* --------------------------- PROPFIND --------------------------- */
 
 #define PG_TEST_PROPFIND1 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \
-        <D:propfind xmlns:D=\"DAV:\"> \
+        <D:propfind xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\" > \
             <D:prop> \
                 <D:displayname/> \
                 <D:getcontentlength/> \
@@ -75,6 +75,21 @@
             </D:prop> \
         </D:propfind>"
 
+#define PG_TEST_PROPFIND2 "<?xml version=\"1.0\" encoding=\"utf-8\" ?> \
+        <D:propfind xmlns:D=\"DAV:\" xmlns:X=\"http://example.com/\" > \
+            <D:prop> \
+                <D:displayname/> \
+                <D:getcontentlength/> \
+                <D:getcontenttype/> \
+                <D:getlastmodified/> \
+                <D:creationdate/> \
+                <D:resourcetype/> \
+                <D:getetag/> \
+                <X:test /> \
+                <X:prop2 /> \
+            </D:prop> \
+        </D:propfind>"
+
 
 #ifdef __cplusplus
 }

mercurial