Re: Problem with org.restlet.Client

2007-06-04 Thread Stian Soiland
On 3 Jun 2007, at 10:57, Jerome Louvel wrote: We still have one bug pending, then we'll release 1.0.2. http://restlet.tigris.org/issues/show_bug.cgi?id=313 Are you able to reproduce this issue? I have not had a chance yet to try to narrow it down to a simple test case, but I guess one

Conditional GETs?

2007-06-04 Thread Peter Lacey
Hi, I'm new to RESTlet and trying to create a resource that supports conditional gets (ETag, Not Modied). So far I have the normal GET done, I can attach an ETag to the representation, I can see how to get the conditions from the client request, and I can see how to send back a 304. But

Re: Conditional GETs?

2007-06-04 Thread Peter Lacey
Never mind. I figured it out. For the record. It's enough to just tack the ETag onto the representation. RESTlet is smart enough to compare it to the client conditions and send back the 304 and an empty representation for you if necessary. Cool! I was expecting to have to do a lot more

RE: Problem with org.restlet.Client

2007-06-04 Thread Jerome Louvel
Hi Stian, We haven't tried yet, but if you can help us pinpoint the issue that would be appreciated. Best regards, Jerome -Message d'origine- De : Stian Soiland [mailto:[EMAIL PROTECTED] Envoyé : lundi 4 juin 2007 11:16 À : discuss@restlet.tigris.org Objet : Re: Problem with

2-way ssl

2007-06-04 Thread Chuck Hinson
Thanks to some help from Toby, I've managed to get 2-way authentication working. However, it was not quite as simple as I expected. The problem is in the way the simple extension is handling keystores. Usually, you have two keystores - one that contains all of the certificates that you trust

RE: RE: 2-way ssl

2007-06-04 Thread Jerome Louvel
Hi Chuck, The format is standard diff files, ideally created with SVN. For details on the contribution process see here: http://www.restlet.org/community/contribute Best regards, Jerome -Message d'origine- De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : lundi 4 juin 2007

GET method and Query String

2007-06-04 Thread Jim Alateras
I am interested in hearing how people use the query string to constrain a GET. For instance if i want to get a list of cars registered between 03/2000 and 09/2006 /cars?registeredDate$from=03-2000registeredDate$to=09-2006 /cars?registeredDate!from=03-2000registeredDate!to=09-2006

Re: GET method and Query String

2007-06-04 Thread Adam Taft
Jim Alateras wrote: My point is, what is the /cars URL (without the query string) going to return to the user?? It should be defined to return some list and the query string parameters will modify the default criteria for said list. /cars will return all car resources (i.e unconstrained) the