[Catalyst] Sanity Check -- requesting feedback on chaining
approach
Dave Rolsky
autarch at urth.org
Thu Feb 17 15:36:24 GMT 2011
On Wed, 16 Feb 2011, will trillich wrote:
> Hmm. Curious about the inline comment there -- how do you do CSV based on
> accept-header?
You look for an Accept header that specifies text/csv (or whatever the
content type is) vs text/html.
Or, if you're using a regular browser, you use a hack where you put
something like content-type=text/csv in the query string.
Catalyst::Action::REST provides basically everything you need to make this
all work.
-dave
/*============================================================
http://VegGuide.org http://blog.urth.org
Your guide to all that's veg House Absolute(ly Pointless)
============================================================*/
More information about the Catalyst
mailing list