Rest icon indicating copy to clipboard operation
Rest copied to clipboard

Routine for view rendering

Open alganet opened this issue 13 years ago • 2 comments

A routine that can map routes to specific rendering engines (such as template engines or serializers).

alganet avatar Feb 18 '12 19:02 alganet

This should be done by the conneg routine shouldn't?

augustohp avatar Mar 06 '12 03:03 augustohp

Content negotiation is the preferred way of doing this, IMO, but I suppose if the request is for .html or .json or .xml, then regardless of the Accept header, we could use a routine map to return the proper content type for the extension?

ramsey avatar Mar 09 '12 21:03 ramsey