May be a chlorinating enzyme involved in 7-chlorotetracycline biosynthesis. Able to brominate as well. Brominating activity not inhibited by azide, peroxidase activity stimulated by bromide. Homodimer. Belongs to the AB hydrolase superfamily. Bacterial non-heme haloperoxidase / perhydrolase family.