Thanks Paul. That's exactly what I was looking for. It looks like CF makes it 
easy to work with headers. In the past I had been doing the same thing with 
PHP, and it took a lot more code.

I ended up using this:

<cfif #cgi.HTTP_ACCEPT# contains "application/xhtml+xml"> ...


>Hi Will,
>
>This might give you a start:
>
><cfdump var="#cgi.HTTP_ACCEPT#" />
>And
><cfdump var="#cgi#" />
>
>Paul.
>
>
>
>Hello, I'd like to deliver content based on the Accept in the HTTP Header.
>I'm guessing I could use cfif conditions to check against the Accept string
>and deliver the right content for each user agent. I'm not sure how to the
>see HTTP GET with ColdFusion though. Any ideas? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3798
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to