[PATCH 05/10] Fix "Undefined variable 'HTTPError'" error