sammyt/nap — pull request #7 by aaronhaines (2014-02-03 10:22:30+00:00)
Title: Added content type negotiation using headers

Implemented the same way as method negotiation. Not sure if the default accept type should be 'html' or 'view' or something else.
Specifying the accept-type as HTML would seem to imply that the resource should respond with an HTML representation. As views are free to respond or not, maybe this is misleading..