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) ============================================================*/ _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/