Induction of a strong serum IgG and splenic cell-mediated response, dominated by pro-inflammatory cytokines IFNγ, TNFα, IL-17, was associated with the protection against infection. Here, IL17A is linked to infection.