REVIEW: [NX-449] Component view framework

If we used content-type instead of mime-type then we could get the charset from that, rather than assume UTF-8.