Re: svn commit: r33398 - trunk/notes
From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Thu, 2 Oct 2008 09:16:41 -0700
On Thu, Oct 2, 2008 at 8:06 AM, <sussman_at_tigris.org> wrote:
Then perhaps we should look at improving Thrift parsing to be streamy.
> In the list of commands, all commands are assumed to be attached as
So, a question is how much we want to push the HTTP envelope. But,
The diff kinda butchered it, but you had:
---
get-latest-rev
GET /repos[/path]?cmd=get-latest-rev
response: revnum
---
I'd rather see one of the following:
---
GET-LATEST-REV /repos
response: revnum
---
or
---
GET /repos/!svn/get-latest-rev
response: revnum
---
(I sort of prefer the latter, but could be convinced the former works too.)
I think that args should be explicit in the URLs rather than then
query strings, so get-dated-rev could be:
---
GET /repos/!svn/get-dated-rev/<ISO date string>
response: revnum
---
Also:
---
rev-proplist
GET /repos[/path]?cmd=rev-proplist&rev=num
response: proplist
---
could be:
---
GET /repos/!svn/<revnum>/props/rev
response: proplist
---
etc, etc, etc.
My $.02. -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-02 18:16:56 CEST
|
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.