src/server/plugins/postgresql/webdav.c

branch
webdav
changeset 309
fc021bd576d4
parent 307
8787cb5ebab3
child 311
e676ed461b5b
--- a/src/server/plugins/postgresql/webdav.c	Mon Apr 25 13:54:27 2022 +0200
+++ b/src/server/plugins/postgresql/webdav.c	Mon Apr 25 18:30:33 2022 +0200
@@ -419,6 +419,7 @@
             }
             if(vfsprops.getcontentlength) {
                 char *contentlength = PQgetvalue(result, r, 7);
+                webdav_resource_add_dav_stringproperty(resource, pool, "getcontentlength", contentlength, strlen(contentlength));
             }
             if(vfsprops.getetag) {
                 

mercurial