Fix small http-class error