Added private method _do_request