So much hydro chloric acid is secreted by the gastric glands that the stomach routinely has a pH of about 2.o As with the rest of the digestive tract, a thick layer of mucus protects the wall of the stomach from enzymatic action.