Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Mon, 2012-04-30 at 14:12 -0400, Adam Tauno Williams wrote:
On Mon, 2012-04-30 at 19:09 +0200, Michael Stahl wrote: 
On 30/04/12 16:02, Adam Tauno Williams wrote:
I work on a WebDAV server.  Looking at requests from LibreOffice
[3.4.5.5-4.5.1 on openSUSE 12.1] I see requests for properties in the
"http://ucb.openoffice.org/dav/props/"; namespace.  But the only places I
can find mention of this namespace are:
<http://code.google.com/p/sabredav/wiki/OpenOffice>
<http://www.openoffice.org/ucb/docs/ucp-ref/webdav-ucp.html>
Is there any documentation for the 'format' of these properties?  What
the client expects?
And the property I see requested "IsReadOnly" is not listed on the
openoffice.org page. 
I'd like to support these properties, especially IsReadOnly [since that
one is frequently requested].  But there is no documentation on what a
proper response looks like.
looking into this a bit, it was added in commit
d8aa390b8620613b977dd5421f99d56c0e557f6b.
the "IsReadOnly" property is added here in Content::getResourceType:
http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/webdavcontent.cxx#n3190
but the ContentProperties::UCBNamesToDAVNames function does not contain
a mapping to a DAV property name, in contrast to the other properties
added in Content::getResourceType:
http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/ContentProperties.cxx#n221
so... is there some equivalent of "is-read-only" in WebDAV?
if not then maybe it was simply added there in error...
Not to my knowledge.  At least RFC2518 doesn't mention one, and I
haven't met a 'common' one.  Clients / server frequently implement
something custom for that [sadly].  Which why I'm happy to add support
for that property to my server.   But there is no documentation if it
should be YES/NO, True/False, 0/1, etc...

???

Attachment: signature.asc
Description: This is a digitally signed message part


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.