What rights were guaranteed by the Habeas Corpus Act?

What rights were guaranteed by the Habeas Corpus Act?