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=2444825

Reply via email to