When any person other than a person accused of a non-bailable offence is arrested or detained without warrant by an officer incharge of a police-station or appears or is brought before a Court, and is prepared at any time while in the custody of such officer or at any stage of the proceedings before such Court to give bail, such person shall b...