refined validation on empty result (204 No Content header should be taken into account)