(1)Subject to the provisions of this section, an appeal shall lie, in any proceedings upon application for habeas corpus, whether civil or criminal, against an order for the release of the person restrained as well as against the refusal of such an order.
(2)No appeal shall lie by virtue of this section from an order made by a single judge on a criminal application for habeas corpus.
(3)In relation to a decision of the High Court on a criminal application for habeas corpus, section 41 shall have effect as if so much of subsection (2) of that section as restricts the grant of leave to appeal were omitted.
(4)Except as provided by paragraph 4 of Schedule 1 in the case of an appeal against an order of the High Court on a criminal application, an appeal brought by virtue of this section shall not affect the right of the person restrained to be discharged in pursuance of the order under appeal and (unless an order under sub-paragraph (1) of that paragraph is in force at the determination of the appeal) to remain at large regardless of the decision on appeal.