Update Http.php

Formating response according to the transaction status.