Objet : Re: Content Negotiation for Safari 4. Any way to override?
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
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
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
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
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
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
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 tunnel is switched on in the service)?
Step 1. The TunnelService parses the 'User-Agent' header and compares it
7 matches
Mail list logo