modified ViewHandler to allow responses with status 201 ("Created") and content