Consider using [codes](https://github.com/bruth/restlib2/blob/master/restlib2/http/__init__.py#L16) and replacing HttpResponse with render as was done [here](https://github.com/cbmi/serrano/pull/169). This might be outside the scope of this PR though so separate issues will need to be created if that is the case.