[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DAV:property-report

From: Ben Reser <ben_at_reser.org>
Date: 2004-08-24 23:53:10 CEST

On Thu, Aug 19, 2004 at 01:53:25PM -0300, Andrew Wilcox wrote:
> Hi,
> I am trying to make a REPORT request for the 'property-report' to
> subversion from a browser using javascript, but alas it is not working.
> Here's what I am doing:
>
> Request function:
>
> function getHistory(url){
> var objHTTP = new ActiveXObject("Microsoft.XMLHTTP");
> objHTTP.open("REPORT", url, false);
> var message = '<?xml version="1.0" encoding="UTF-8"?><D:property-report
> xmlns:D="DAV:"><D:prop><D:creationdate/></D:prop></D:property-report>';
> objHTTP.send(message);
> return objHTTP.responseText;
> }
>
> And here is the response:
>
> <?xml version="1.0" encoding="utf-8"?>
> <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
> xmlns:C="svn:">
> <C:error/>
> <m:human-readable errcode="200007">
> The requested report is unknown.
> </m:human-readable>
> </D:error>
>
> Do I have the report name (property-report) correct? Does anyone have a
> list of custom reports taht subversion uses? Thanks for your help.

I think what you want is a PROPFIND request. See section 8.1 of RFC
2518.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 24 23:53:37 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.