projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
700d6ef
)
Add support for returning 304 responses.
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 22 Sep 2010 22:57:20 +0000
(22:57 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 22 Sep 2010 22:57:20 +0000
(22:57 +0000)
isapi_shib/isapi_shib.cpp
patch
|
blob
|
history
diff --git
a/isapi_shib/isapi_shib.cpp
b/isapi_shib/isapi_shib.cpp
index
9fcecea
..
f223304
100644
(file)
--- 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;