Re: [search-ws] eliminate version parameter

From
Farrukh Najmi <>
Date
2007-11-15T15:14:12+00:00
ID
Thread
Re: [search-ws] eliminate version parameter
Ray Denenberg, Library of Congress wrote:
> Note the suggestion on the SRU list to drop the version parameter.   I
> responded that doing so would take away the ability for different versions
> to interoperate.   But thinking more about it more, I'm not sure.
>
> This would take some thinking through - using different base URLs to for
> different versions, and exposing the names and versions via explain, a
> client would know the server version so there would never be a mismatch.
>
> I think eliminating the version parameter makes sense.
>
> What do you think?
>
>   

I am unsure of the answer at present and have posted the following to a 
rest related mailing list:

"
Another FAQ is how to indicate service version desired by a client in
a client request.

Should it be encoded in the path of the URL as in:

/acme/search/1.0?keywords=foo
;bar

or should it be an option within the URL as in:

/acme/search?keywords=foo;bar&version=1.0

Is one better than the other and if so why?

"

Will keep you posted. Thanks.

-- 
Regards,
Farrukh Najmi

Web: http://www.wellfleetsoftware.com