RE: How to turn off auto-version

Hi Edgar,

you can issue the following PROPPATCH:

    PROPPATCH /taminowebdavserver/xxxxxxx/a.xml HTTP/1.1
    Content-Type: text/xml
    Host: tamino.demozone.softwareag.com:80
    Authorization: Basic ********************
    Content-length: 101
    
    <propertyupdate xmlns="DAV:">
     <set>
      <prop>
        <auto-version/>
      </prop>
     </set>
    </propertyupdate>

After that, attempting to update the resource results in

    HTTP/1.1 403 
    Content-Type: text/xml; charset="UTF-8"
    
    <?xml version="1.0" encoding="UTF-8"?>
    <D:error xmlns:D="DAV:">
        <D:cannot-modify-version-controlled-content />
    </D:error>    

Regards,
Peter
 

> -----Original Message-----
> From: ietf-dav-versioning-request@w3.org 
> [mailto:ietf-dav-versioning-request@w3.org] On Behalf Of 
> edgar@edgarschwarz.de
> Sent: Montag, 9. August 2004 21:19
> To: ietf-dav-versioning@w3.org
> Cc: edgar@edgarschwarz.de
> Subject: How to turn off auto-version
> 
> 
> Hi,
> I'm testing my client with SoftwareAGs Tamino WebDAV server.
> It has auto-version = checkout-checkin.
> But what if I want an error for a PUT on a checked-in VCR ?
> Can I set auto-version to "empty" and how do I do that ?
> 
> Cheers, Edgar
> 
> 
> -- 
> edgar@edgarschwarz.de,       Running Bluebottle           
> www.edgarschwarz.de
>       Make it as simple as possible, but not simpler !  
> Albert Einstein www.edgar-schwarz.de/cgi-bin/moin/ 
> www.edgar-schwarz.de/cgi-bin/moin/SwOberon
> 
> 
> 

Received on Wednesday, 11 August 2004 13:07:27 UTC