Added http exception in order to distiguish bad http response codes