Application for a writ of habeas corpus may be made by the party complaining, or anyone for such party, setting forth upon oath, where and by whom, and for what cause, to the best of his or her knowledge, such party is imprisoned or restrained of liberty, and exhibiting a copy of the commitment, if there be any, or showing why such copy could not be procured.
10 Del. C. § 6905