Add exit condition if returned code is empty (case with via header)