Login | Register
My pages Projects Community openCollabNet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Catacomb] version properties



Hi,

 

You need the REPORT method to get version properties:

 

REPORT /repos/sung.txt HTTP/1.1

Host: localhost:7777

User-Agent: cadaver/0.22.0 neon/0.24.2

Connection: TE

TE: trailers

Content-Type: application/xml

Content-Length: 216

<?xml version="1.0" encoding="utf-8" ?>

   <D:version-tree xmlns:D="DAV:">

      <D:prop> 

         <D:version-name/> 

         <D:creator-displayname/> 

         <D:getcontentlength/>  

         <D:getlastmodified/> 

         <D:successor-set/>

      </D:prop>

   </D:version-tree>

 

- Sung

 

-----Original Message-----
From: catacomb-bounces@webdav.org [mailto:catacomb-bounces@webdav.org]On Behalf Of Александр
Sent: Monday, October 27, 2003 8:59 AM
To: catacomb@webdav.org
Subject: [Catacomb] version properties

 

Hello.

 

How can I get my own version properties (they are stored at the version_property table)? To get properties like content length or last modified I use report request:

<?xml version="1.0" encoding="utf-8" ?>
<D:version-tree xmlns:D="DAV:">
 <D:prop>
   <D:version-name/>
   <D:getcontentlength/>
   <D:getlastmodified/>
 </D:prop>
</D:version-tree>

 

But if I include in this request my own property request doesn't return it.