|
Hi,
I have one general doubt about PROPPACTCH. Can I send the
PROPPACTH header to the tomcat server just like for the PROPFIND. String body = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\r\n"; body += " <D:propertyupdate xmlns:D=\"DAV:\"\r\n"; body += " xmlns:Z=\"http://www.w3.com/standards/z39.50/\">\r\n"; body += " <D:set>\r\n"; body += " <D:prop>\r\n"; body += " <Z:authors>\r\n"; body += " <Z:Author>Jim Whitehead</Z:Author>\r\n"; body += " <Z:Author>Roy Fielding</Z:Author>\r\n"; body += " </Z:authors>\r\n"; body += " </D:prop>\r\n"; body += " </D:set>\r\n"; body += " <D:remove>\r\n"; body += " <D:prop><Z:Copyright-Owner/></D:prop>\r\n"; body += " </D:remove>\r\n"; body += " </D:propertyupdate>"; os.write("\n\nPROPATCH /webdav/Domain.xml HTTP/1.1".getBytes()); os.write("\nHost: localhost:8080".getBytes()); os.write("\nConnection: TE".getBytes()); os.write("\nTE: trailers, deflate, gzip, compress".getBytes()); os.write("\n\n".getBytes()); os.write(body.getBytes()); os.write(("Content-Length: "+body.length()).getBytes()); int ch=0; while ((ch = is.read())!=-1) System.out.print((char) ch); ERROR Message I got for the above is... What could be the reason... How can I use this Header... Thanx HTTP/1.1 501 Method PROPATCH is not defined in RFC 2068 and is not supported by the Servlet API Content-Type: text/html; charset=UTF-8 Connection: close <html> <head> <title>Tomcat Error Report</title> </head> <body bgcolor="white"> <br><br> <h1>HTTP Status 501 - Method PROPATCH is not defined in RFC 2068 and is not supp orted by the Servlet API </h1> The server does not support the functionality needed to fulfill this request (Me thod PROPATCH is not defined in RFC 2068 and is not supported by the Servlet API ). </body> </html> ----- Original Message ----- From: "Dirk Verbeeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 25, 2001 8:14 PM Subject: Re: ETag |
- RE: PROPATCH Vijaya Kumar
- RE: PROPATCH dirk . verbeeck
- Re: PROPATCH Vijaya Kumar
- Re: PROPATCH Dirk Verbeeck
- Re: PROPATCH Vijaya Kumar
