fix to import HTTPException
Merge pull request #4770 from ticoann/httpexception_fix

fix to import HTTPException