returning HttpServletResponse.SC_NO_CONTENT when the response body is null