From 5ea8c28a4e561bc3c6103db45a37f71f4bcd8c34 Mon Sep 17 00:00:00 2001 From: cantor Date: Wed, 22 Sep 2010 22:57:20 +0000 Subject: [PATCH] Add support for returning 304 responses. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3328 cb58f699-b61c-0410-a6fe-9272a202ed29 --- isapi_shib/isapi_shib.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/isapi_shib/isapi_shib.cpp b/isapi_shib/isapi_shib.cpp index 9fcecea..f223304 100644 --- a/isapi_shib/isapi_shib.cpp +++ b/isapi_shib/isapi_shib.cpp @@ -548,6 +548,7 @@ public: hdr += "\r\n"; const char* codestr="200 OK"; switch (status) { + case XMLTOOLING_HTTP_STATUS_NOTMODIFIED: codestr="304 Not Modified"; break; case XMLTOOLING_HTTP_STATUS_UNAUTHORIZED: codestr="401 Authorization Required"; break; case XMLTOOLING_HTTP_STATUS_FORBIDDEN: codestr="403 Forbidden"; break; case XMLTOOLING_HTTP_STATUS_NOTFOUND: codestr="404 Not Found"; break; -- 2.1.4