RE: Ampersand () in Query String?

2009-10-08 Thread Jerome Louvel
Hi there, I've just done a test (see code below) and sent a GET request on this URI: http://localhost:8182/test.php?input=hello%26world Here is the result in the console using Restlet 2.0 (SVN trunk): input=hello%26world helloworld From a Restlet POV it seems to behave correctly. Maybe you have

RE: Re: adding headers to response via jaxrs

2009-10-08 Thread Jerome Louvel
Hi Jim, You are correct, extra HTTP headers are ignored. I've entered a bug report: Extra HTTP headers are not sent back http://restlet.tigris.org/issues/show_bug.cgi?id=913 Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~

RE: Setting custom HTTP headers and ATOM feeds

2009-10-08 Thread Jerome Louvel
Hi Jatin, It is possible to access raw HTTP headers and to specify additional ones. See this FAQ for guidance: http://www.restlet.org/documentation/1.1/faq#01 You will have to create a Request object instead of directly invoking Client#post. If you are using Restlet 2.0, I suggest using

RE: finding the served URL of a Directory() ?

2009-10-08 Thread Jerome Louvel
Hi Troy, At start up you don't know about the base URI of your requests. In some cases (virtual hosting) you might have several base URIs. In general, it isn't necessary to know this at start time. Could you describe your use case? Best regards, Jerome Louvel -- Restlet ~ Founder and Lead

RE: SpringBeanFinder: No target class was defined for this finder

2009-10-08 Thread Jerome Louvel
Hi Norton, Thanks for confirming this now works for you! Restlet 2.0 M5 is already available in Maven, see for example: http://maven.restlet.org/org/restlet/jee/org.restlet/2.0-M5/ Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies

RE: File Upload

2009-10-08 Thread Jerome Louvel
Hi Martin, As you are receiving a multi-part representation, you are supposed to decode it by understanding its format fully Currently it requires you to use the org.restlet.ext.fileupload extension, but we do plan to add built-in support for this in the future. See the related RFE: Support

RE: OPTIONS instead of POST on GWT

2009-10-08 Thread Jerome Louvel
Hi guys, Which version of Restlet are you using? We fixed some related issues in Restlet edition for GWT in version 2.0 M5. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founderĀ ~ http://www.noelios.com -Message

RE: Restlet, Tomcat and lost body of POST request ...

2009-10-08 Thread Jerome Louvel
Hi Eugene, We fixed an related integration issue with Tomcat in Restlet 2.0 M5. I encourage you to upgrade! Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org/ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com/

RE: grizzly dependency-problem

2009-10-08 Thread Jerome Louvel
Hi Daniel, Thanks for reporting this. I've fixed Restlet 1.1 branch and updated the 1.1.6 POM in our Maven repository. Note that the actual artifact necessary is grizzly-framework. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies

RE: UrlConneciton based HTTP client tiimeouts

2009-10-08 Thread Jerome Louvel
Hi Evgeny, Looking at the code in SVN trunk, we do set the property, but only if Java 1.5: // These properties can only be used with Java 1.5 and upper // releases int majorVersionNumber = SystemUtils.getJavaMajorVersion(); int minorVersionNumber

RE: Unable to setup SpringBeanRouter configure

2009-10-08 Thread Jerome Louvel
Hi guys, Thanks for the update Pritam, I'm glad it now works for you. Thanks as well to Rhett for the prompt support! I hope all those Spring issues with Restlet 2.0 are behind us now. BTW, I've just noticed a detailed blog post on this topic by 'bits.of.info': Integrating Restlet with Spring

Re: UrlConneciton based HTTP client tiimeouts

2009-10-08 Thread Evgeny Shepelyuk
Hello, I'm using JDK6 and restlet 2.0m3 / 2.0m5. Yes, i have found this issue during debug. The parameters are set, but getHelper().getXXX doesn't return parameters, i've used while creating client. Instead it returns zero. My code looks like Client client = new Client(Protocol.HTTP);