Project

General

Profile

[Solved] 308 Permanent Redirect

Added by cassidykelly over 5 years ago

Would it be possible to support 308 Permanent Redirect? If I include "url.redirect-code = 308" in my mod_redirect config, I do not get a reason phrase in my HTTP responses.


Replies (2)

RE: 308 Permanent Redirect - Added by gstrauss over 5 years ago

I think this is what you're asking for:

--- a/src/keyvalue.c
+++ b/src/keyvalue.c
@@ -77,6 +77,7 @@ static keyvalue http_status[] = {
        { 305, "Use Proxy" },
        { 306, "(Unused)" },
        { 307, "Temporary Redirect" },
+       { 308, "Permanent Redirect" },
        { 400, "Bad Request" },
        { 401, "Unauthorized" },
        { 402, "Payment Required" },

RE: [Solved] 308 Permanent Redirect - Added by gstrauss over 5 years ago

will be part of lighttpd 1.4.46

    (1-2/2)