From cec165f2c1850c8c2a8430969330ad5abe63a521 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 29 Oct 2009 22:46:26 +0000 Subject: 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. --- module/consumer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3