adds 204 no content default code in response if the body isn't set or if it is nothing