Implements CS-4989, returns 204 when response is allowed to be empty