Petition for Writ of Habeas Corpus Under 28 U.S.C. § 2254. Download. The writ of habeas corpus primarily acts as a writ of inquiry, issued to test the reasons or grounds for restraint and detention.Habeas corpus proceedings. 1. 2. If you are looking to file a Texas 11.07 Writ of Habeas Corpus application, post-convcition lawyer Sarah Durham is here to help. First, a U.S.C. § 2254 allows us to file a petition for Habeas Corpus when the client is in custody under sentence of a state court and is in a state prison. 26B-5-409. Habeas corpus. 1998, Utah courts were not exercising the constitutional writ of habeas corpus. A Writ of Habeas Corpus is a civil proceeding that is available in both State and Federal Court to challenge the legality of imprisonment. Hearing on his complaint for a writ of habeas corpus is a denial of due process under the United States and Utah. Constitutions. The "Great Writ" of habeas corpus is a fundamental right in the Constitution that protects against unlawful and indefinite imprisonment.