Update HTTP.php

avoid erros when **$result** is not defined