Re: Content Negotiation for Safari 4. Any way to override?

2009-06-25 Thread Thierry Boileau
Hello Bruno, could you try by removing the acceptOld line? It is not mandatory. best regards, Thierry Boileau Hi Thierry, I'm not entirely sure what the intended behaviour of the TunnelService (regarding user-agents) is. Could you confirm this should be as follow (assuming the user agent

Re: Content Negotiation for Safari 4. Any way to override?

2009-06-25 Thread Bruce Cooper
Hi guys, I have found that the agentName is reporting as Safari with a capitol S whereas the standard file has it listed with a lowercase s, so I've needed to add a separate rule in accept.properties. Because I want to only override the default Accept that is being sent through (and so that I

Re: Content Negotiation for Safari 4. Any way to override?

2009-06-25 Thread Bruce Cooper
Hi Thierry, As Bruno said, the user agent is: 1. Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 2. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-au) AppleWebKit/530.18 (KHTML, like Gecko) Version/4.0.1

Mysterious message in client

2009-06-25 Thread Rick
Hi, I've written the client for my web serv ice program. This client is also in Java. Whenever I invoke the client through my shell script, it gives me the following message: [code] [mybox:/var/]$ ./validate.sh Jun 24, 2009 9:49:55 PM com.noelios.restlet.http.StreamClientHelper start

Nested resource routing

2009-06-25 Thread webpost
I want to be able to nest arbitrarily deep items in a hierarchical format, and route them based on URI patterns in Spring. For example, I can have objects nested like: /branches/{branch_id}/ /branches/{branch_id}/leaves/{leaf_id}/ /branches/{branch_id}/buds/{bud_id}/ However, the

Nested resource routing

2009-06-25 Thread webpost
I want to be able to nest arbitrarily deep items in a hierarchical format, and route them based on URI patterns in Spring. For example, I can have objects nested like: /branches/{branch_id}/ /branches/{branch_id}/leaves/{leaf_id}/ /branches/{branch_id}/buds/{bud_id}/ However, the

Hierarchical URI routing w/ Spring

2009-06-25 Thread webpost
I have a hierarchy of container type objects that I want to be able to use. ex: /branch/{branch_id}/ /branch/{branch_id}/branch/{branch_id}/ /branch/{branch_id}/branch/{branch_id}/branch/{branch_id}/ etc. This structure can be arbitrarily deep, and each branch can have other items

Re: Mysterious message in client

2009-06-25 Thread Rhett Sutphin
Hi Rick, On Jun 24, 2009, at 4:59 PM, Rick wrote: Hi, I've written the client for my web serv ice program. This client is also in Java. Whenever I invoke the client through my shell script, it gives me the following message: [code] [mybox:/var/]$ ./validate.sh Jun 24, 2009

Re: Content Negotiation for Safari 4. Any way to override?

2009-06-25 Thread Bruno Harbulot
Hi Bruce/Thierry, It seems that the code has changed between version 1.1 and 2.0. In 1.1.5, com.noelios.restlet.application.TunnelFilter uses 'equalsIgnoreCase' (line 388), whereas in the trunk (2.0), org.restlet.engine.application.TunnelFilter uses 'equals' (line 528). I think it makes sense

Re: Mysterious message in client

2009-06-25 Thread Thierry Boileau
Hello Rick, you can ignore this message. It just says that no content-length has been provided. If you want to remote this message, you can set the log level to warning see [1]. best regards, Thierry Boileau [1] http://wiki.restlet.org/docs_1.2/101-restlet.html Hi, I've written the

bug?

2009-06-25 Thread Schley Andrew Kutz
I want to prevent the use of HTTP VERB annotations in order to force sub-classes to respond with specific class types via abstract methods that I prototype in a base class. I marked the isAnnotated() method as @Override and final and returned false. However, when it returns false I get the

Re: Hierarchical URI routing w/ Spring

2009-06-25 Thread Rhett Sutphin
Hi, On Jun 24, 2009, at 11:40 AM, webp...@tigris.org wrote: I have a hierarchy of container type objects that I want to be able to use. ex: /branch/{branch_id}/ /branch/{branch_id}/branch/{branch_id}/ /branch/{branch_id}/branch/{branch_id}/branch/{branch_id}/ etc. This structure

Re: Content Negotiation for Safari 4. Any way to override?

2009-06-25 Thread Thierry Boileau
Hello, well, I'm afraid that I'm the author of the change... Let's see with Jérôme if we keep the equalsIgnorCase test or not. best regards, Thierry Boileau Hello Bruno, Bruce, well that's weird, the current 2.0 release (in the svn repository) uses equalsIgnoreCase not equals. And I was