Portability hack for HTTPError messages