Changed response status to be valid in either case when 2xx response is
returned