Hi,

I noticed that the Slide client APUI's propatchMethod only add or update properties, 
and can't remove them, although the PROPATCH does. So I use the PropPatchMethod class, 
with the addPropertyToRemove method.
The problem is that, although I can add new properies and change them, the server 
answer me that when I try to remove what I've added :

PROPPATCH /files/myfiles/hello.html HTTP/1.1
Content-Length: 138
Content-Type: text/xml; charset=utf-8
Host: localhost
User-Agent: Jakarta HTTP Client/1.0

HTTP/1.1 401 Unauthorized
Content-Type: text/html
Date: Mon, 22 Apr 2002 07:24:03 GMT
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
WWW-Authenticate: Basic realm="Slide DAV Server"

PROPPATCH /files/myfiles/hello.html HTTP/1.1
Content-Length: 138
Authorization: Basic cm9vdDpyb290
Content-Type: text/xml; charset=utf-8
Host: localhost
User-Agent: Jakarta HTTP Client/1.0

HTTP/1.1 207 Multi-Status
Date: Mon, 22 Apr 2002 07:24:04 GMT
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=277442F2100660B203C012F0D2745151;Path=/

How can I have the authorization ? I tried this with the 'root' login, so I can't 
imagine how I could have more rights...

Can someone help ?
Thanx

Reply via email to