Question on RestletResponse.release()

2008-10-31 Thread Sanjay Acharya
I am curious regarding the proper mode of ensuring release() : My code is pretty much doing the following: Response response = ; try { . return response.getStatus().equals(Status.OK); } finally { if (response != null && response.getEntity() != null) { try { response.

routes with URIs

2008-10-31 Thread Cliff Binstock
To all, Wondering if anyone has any experience or great ideas: I have a need to specify URLs (not the uri-pattern) when fetching Resources. A simple degenerate case is this: /urls/{url} Where {url} points to some random place on the web. While I have thought of a number of workarounds, I can'

Re: Restlet 1.1.1 released

2008-10-31 Thread Avi Flax
On Fri, Oct 31, 2008 at 13:08, Stephan Koops <[EMAIL PROTECTED]> wrote: > one the download site Restlet 1.1.1 is marked as testing. Is this planned? > I was just wondering this myself. Shouldn't 1.0.11 be relabeled as an "archived" version at this point, and 1.1.X as "stable"?

Re: Restlet 1.1.1 released

2008-10-31 Thread Stephan Koops
Hi, one the download site Restlet 1.1.1 is marked as testing. Is this planned? best regards Stephan Jerome Louvel schrieb: Hi all, To fix an annoying regression in 1.1.0 with the Servlet extension on Windows, we had to release a corrective version quicker than expected. Thanks to Brian E

Restlet 1.1.1 released

2008-10-31 Thread Jerome Louvel
Hi all, To fix an annoying regression in 1.1.0 with the Servlet extension on Windows, we had to release a corrective version quicker than expected. Thanks to Brian E. Williams for reporting this. Download links: http://www.restlet.org/downloads/1.1/restlet-1.1.1.exe http://www.restlet.org/downl

Re: Restlet and FF in Windows: range out of range

2008-10-31 Thread Rob Heittman
This may be connected to a recent issue I've seen with Acrobat 9 not being able to serve up certain PDFs hosted by Restlet -- there are also ranged requests going on there -- Jerome and Thierry contact me direct if you want examples. - Rob On Fri, Oct 31, 2008 at 11:18 AM, Diego Ballve < [EMAIL P

Restlet and FF in Windows: range out of range

2008-10-31 Thread Diego Ballve
Hello, Can somebody take a look at the range headers in these greps? I'm experiencing problems in Windows when serving static files (times out most of the times) and I believe it's due to ranged requests since it works fine linux (1 request). More specifically, why does Restlet answer: Content-

Re: Problem with Url redirection

2008-10-31 Thread Murilo Foltran
Thanks a lot Thierry! I'll start on this right now! Cheers Murilo On Fri, Oct 31, 2008 at 10:18 AM, Thierry Boileau < [EMAIL PROTECTED]> wrote: > Hello Murilo, > > I wonder if you can use the Redirector Restlet instead in "dispatcher" mode > => > http://www.restlet.org/documentation/1.1/api/or

Re: Problem with Url redirection

2008-10-31 Thread Thierry Boileau
Hello Murilo, I wonder if you can use the Redirector Restlet instead in "dispatcher" mode => http://www.restlet.org/documentation/1.1/api/org/restlet/Redirector.html You may need to override the "redirectDispatcher" method. best regards, Thierry Boileau Hi, I'm using restlet with Mule (ww

Problem with Url redirection

2008-10-31 Thread Murilo Foltran
Hi, I'm using restlet with Mule (www.mulesource.org). We have a system with 3 layer. A web layer (using Joomla), ESB layer (using Mule+Restlet) and Services layer (using Apache + PHP). Joomla makes a request through ESB layer to Services layer. So... I need receive this request, send this to Se

Re: What is the correct way to return 415 Unsupported Media Type

2008-10-31 Thread Thierry Boileau
Hello Gabriel, this is a very good question which has no answer yet, I think. I've entered a new RFE => http://restlet.tigris.org/issues/show_bug.cgi?id=637 >Right now I do the following, is this the way to go? That's fine for me. Best regards, Thierry Boileau -- Restlet ~ Core developer ~ ht