Display will not try to render 204 No Content as json

This small change makes sure that if a server returns json as a mime type that
it will not try to render the json if there is a 204 No Content response or if
the response comes back as a 200 with no body.