(725 ILCS 225/10) (from Ch. 60, par. 27)
    Sec. 10. Rights of accused person: application for relief by habeas corpus: appeals. No person arrested upon such warrant shall be delivered over to the agent whom the Executive Authority demanding him shall have appointed to receive him unless he shall first be taken forthwith before a judge of the circuit court of the county wherein he is arrested who shall inform him of the demand made for his surrender and of the crime with which he is charged, and that he has the right to demand and procure within a reasonable time and opportunity, not less than 24 hours, legal counsel; and if the prisoner or his counsel shall state that he or they desire to test the legality of his arrest, the judge of such court shall fix a reasonable time to be allowed him within which to apply for relief by habeas corpus. When such relief is applied for, notice thereof, and of the time and place of hearing thereon, shall be given to the prosecuting officer of the county in which the arrest is made and in which the accused is in custody, and to the agent of the demanding state.
    Either party may take an appeal from the judgment or order of the circuit court, as in other civil cases.
(Source: P.A. 81-243.)