Bonjour Thierry ! Ah... so the problem was somewhere else :-)
My pleasure to contribute to the already excellent Restlet. Any hints on when will this fix be available? or should I try (my socio won't like it at all...) to deploy snapshot Restlet jars? On Tue, Feb 9, 2010 at 6:24 AM, Thierry Boileau <[email protected]> wrote: > Hello Fabian, > > thanks for your report that helps to fix a regression. > The value of the "accept-old" parameter is not required but due to the > regression it was. > > Best regards, > Thierry Boileau > > > Hello there, > > Restlet 2.0M7 included a TunnelService fix for UA 'relaxed' check > (case insensitive matching), however this doesn't seem to have fixed > much. Whenever IE states Accept: */* (which is the default in at least > IE7 and IE8) I'm still getting the last-defined annotated > representation back, instead of the HTML representation like all other > tested browsers get. > > Maybe this > > #Internet explorer > > agentName: msie > > acceptNew: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > is not enough, and the logic really needs: > > #Internet explorer > agentName: msie > acceptOld: */* > acceptNew: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > > instead? > > Is there any way to add the above, more explicit, rule programatically > to the TunnelService? > > A possible workaround is for me to move all @Get("html") code to > appear last in the source, thus making HTML the preferred > representation for when Accept: */* is specified, fixing IE in the > process, but: 1) tying myself to M7's > select-la...@get-as-default-when-*/*-is-specified; and 2) workaround > instead of bugfix, so it may not work anymore later... > > Thanks in advance for your help. > > -- Fabián Mandelbaum IS Engineer ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2446121

