You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ivan Zhakov <iv...@visualsvn.com> on 2008/10/15 19:21:33 UTC

Re: svn commit: r33660 - trunk/notes

On Wed, Oct 15, 2008 at 11:01 PM,  <su...@tigris.org> wrote:
> Author: sussman
> Date: Wed Oct 15 12:01:46 2008
> New Revision: 33660
>
> Log:
> * notes/http-protocol-v2.txt:  evolve this a bit more.
>
> Modified:
>   trunk/notes/http-protocol-v2.txt
>
> Modified: trunk/notes/http-protocol-v2.txt
> URL: http://svn.collab.net/viewvc/svn/trunk/notes/http-protocol-v2.txt?pathrev=33660&r1=33659&r2=33660
> ==============================================================================
> --- trunk/notes/http-protocol-v2.txt    Wed Oct 15 11:46:28 2008        (r33659)
> +++ trunk/notes/http-protocol-v2.txt    Wed Oct 15 12:01:46 2008        (r33660)
[skip]

> -  get-latest-rev
>
> -    GET /repos[/path]?cmd=get-latest-rev
> + * get-latest-rev
> +
> +    GET /repos[/path]/|get-latest-rev
>
>     response: revnum
> +    cacheable:  NO, this value changes all the time.
> +
> +    Note: The [/path] portion is tolerated but ignored by the server,
> +    since the HEAD revision is a repository-wide attribute.
> +
>
> -  get-dated-rev
> + * get-dated-rev
>
> -    GET /repos[/path]?cmd=get-dated-rev&date=string
> +    GET /repos[/path]/!get-dated-rev/DATESTRING
> +
> +    DATESTRING must be in subversion standard format
> +    (e.g. 2008-10-15T12:29:52.526295Z).  See svn_time.h.
>
Hi Ben,

I see you moved HTTP request parameters in request body instead of
args mostly on reason of cacheability. But I'm just of curious why do
not use HTTP ETag [1] for identifying resources?

[1] http://tools.ietf.org/html/rfc2616#page-126
-- 
Ivan Zhakov
VisualSVN Team

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org