X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2SOAPEncoder.cpp;h=5f519d8138d00db0d1c33aad4e9ca0ec1e08d78f;hp=7c407d94b540a5b6ecfae0bfaf741fe77205249c;hb=93f27cbab489efed65b89371b6cf13ae6fb8e2f3;hpb=180150769fba457b33ebb0be780536f79896c049 diff --git a/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp b/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp index 7c407d9..5f519d8 100644 --- a/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp +++ b/saml/saml2/binding/impl/SAML2SOAPEncoder.cpp @@ -72,8 +72,8 @@ long SAML2SOAPEncoder::encode( genericResponse.setContentType("text/xml"); HTTPResponse* httpResponse = dynamic_cast(&genericResponse); if (httpResponse) { - httpResponse->setHeader("Cache-Control", "no-cache, no-store, must-revalidate, private"); - httpResponse->setHeader("Pragma", "no-cache"); + httpResponse->setResponseHeader("Cache-Control", "no-cache, no-store, must-revalidate, private"); + httpResponse->setResponseHeader("Pragma", "no-cache"); } DOMElement* rootElement = NULL;