Added HTTPError rescue