534:2 Limitation on.
Persons imprisoned upon legal process, civil or criminal, in which the cause of the imprisonment is distinctly expressed, and persons committed by a court or judge of the United States, and where no judge of a court of this state has authority to discharge or to commit to bail, are not entitled of right to such writ.