Both IL-17A and IFN-γ are required for protective immunity to pneumococcal infection and intranasal infection of mice with PLY-deficient pneumococci induced significantly less IFN-γ and IL-17A in the lungs compared to infection with wild-type bacteria. This evidence concerns the gene IL17A and infection.