Corrected http error printing