X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fbinding%2Fimpl%2FSAML2ArtifactEncoder.cpp;h=ea879a0d4ba33774192d3448fb2ff9521f5510b3;hp=a4dd248690f3daeaef03fba892ef6386d4c6b195;hb=07dbbcf3a8fc0aba6fefe741f1760442a0a6ea65;hpb=425c0161d1296040504e2696a3c46e3c5caaf6b7 diff --git a/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp b/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp index a4dd248..ea879a0 100644 --- a/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp +++ b/saml/saml2/binding/impl/SAML2ArtifactEncoder.cpp @@ -201,6 +201,9 @@ long SAML2ArtifactEncoder::encode( stringstream s; engine->run(infile, s, params); httpResponse->setContentType("text/html"); + httpResponse->setResponseHeader("Expires", "01-Jan-1997 12:00:00 GMT"); + httpResponse->setResponseHeader("Cache-Control", "no-cache, no-store, must-revalidate, private"); + httpResponse->setResponseHeader("Pragma", "no-cache"); return httpResponse->sendResponse(s); } }