DarthFubuMVC/fubumvc — Issue #215: Set default output if no view engine for conneg
Author: RexMorgan
Created: 2012-01-06 21:03:52+00:00
State: open

If I make a web request to a behavior that is using content negotiation, it will render a blank page. It looks like the conneg output node checks if there's a mime type for text/html, if so continues, deferring to a view engine that it's assuming will be there to handle the output.

If there is no view engine, a blank page comes back. It would be cool to set some type of a default output, to output as json instead of deferring to a view engine.