A witness so imprisoned by an officer before whom his deposition is being taken, may apply to a judge of a court of record, who shall have power to discharge him, if it appears that his imprisonment is illegal.
Okla. Stat. tit. 12, § 395
A witness so imprisoned by an officer before whom his deposition is being taken, may apply to a judge of a court of record, who shall have power to discharge him, if it appears that his imprisonment is illegal.
Okla. Stat. tit. 12, § 395