[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-user
Subject: Removing properties
From: "Elodie Tasia" <e.tasia () ever-team ! com>
Date: 2002-04-22 7:39:03
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic