Fixed response code check to NOT None