Hi guys,
I'm setting up a restlet app at the moment, and I'd like to set it up so that
if a user uses a browser to access a resource, he gets given a nicely formatted
HTML page, but if he separately asks for XML or JSON he gets a machine parsable
response. Its all working well on Firefox, but
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 can
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 Safari/
ome Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
>
>
>
>
>
> *De :* Bruce Cooper [mailto:br...@brucecooper.net]
> *Envoyé :* dimanche 28 juin 2009 10:38
> *À :* discuss
4 matches
Mail list logo