On Jul 7, 2007, at 5:29 AM, Michael Koziarski wrote:

>
>> I just don't think that the content type should mandate the template
>> format. It should prefer a specific format, but if that format
>> doesn't exist, I think it should use the Accepts header to determine
>> other template formats.
>
> There be dragons.   The accepts header is a constant source of
> shenanigans for those of us who run regularly-crawled public sites.
> Browsers send junk,  don't rely on it.

Yeah, but could it at least be used for preference?  So of the  
Accepts header has "text/javascript; text/html", it would look for  
rjs, then html?

Brandon



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to