Application and writ
When any person detained in custody, whether charged with a criminal offense or not, applies to the Supreme Court or any justice thereof, or to any district court of appeal or any judge thereof or to any circuit judge for a writ of habeas corpus and shows by affidavit or evidence probable cause to believe that he or sh…