summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-29 22:46:26 +0000
committerStef Walter <stef@memberwebs.com>2009-10-29 22:46:26 +0000
commitcec165f2c1850c8c2a8430969330ad5abe63a521 (patch)
tree4119b4712b10c40910dc2b885168475edc842e99
parent47c7b529cc46f0974f9ef954c90dd6495c14c6d6 (diff)
Use 302 Found redirect.
For compatibility reasons we use the 302 Found HTTP redirect code. Although 303 would be more technically correct, 302 is recommended for interoperability.
-rw-r--r--module/consumer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/consumer.cc b/module/consumer.cc
index 35d42e2..e4d2906 100644
--- a/module/consumer.cc
+++ b/module/consumer.cc
@@ -548,7 +548,7 @@ begin_auth (sid_request_t *req, Consumer &consumer, const string& trust_root,
return;
}
- sid_request_respond_headers (req, 307, "Moved Temporarily",
+ sid_request_respond_headers (req, 302, "Found",
"Location", redirect.c_str(),
"Cache-Control", "no-cache",
NULL);