Http response code handler 2