Just sayin maybe you should look up the definition of Habeas Corpus. It does NOT say anything about telling the detained individual about why he or she is being detained. With that said they police officer(s) has every right to arrest and book you without you knowing why.
Also insulting police is the dumbest thing a person can do. most people do it when they dont need them, but when you do need them they are the greatest people in the world... STOP being a hypocrite it makes you look bad