changed error of null inputstream in 204 no Content