bowler-framework / Bowler

RESTful Web Framework based on Scala, built on top of Scalatra & Scalate
http://bowlerframework.org
BSD 3-Clause "New" or "Revised" License
119 stars 13 forks source link

Configuration setting to send XHTML content type to user agents supporting it #28

Open greenrd opened 11 years ago

greenrd commented 11 years ago

Want to be able to (in one line of code) prefer sending an XHTML content type over an HTML content type, regardless of what the user agent says it prefers. This should not be the default of course, because you have to deliberately create XHTML in a layout.