From 74c5a582731caa510d98ebbf483227c6951d4615 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 19 Feb 2019 14:43:21 -0800 Subject: [PATCH] ircd::resource: Use 308 instead of 301 for redirect. --- ircd/resource.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/resource.cc b/ircd/resource.cc index ee69757e0..657d8d9a3 100644 --- a/ircd/resource.cc +++ b/ircd/resource.cc @@ -1244,7 +1244,7 @@ ircd::resource::redirect::permanent::handler(client &client, return response { - client, {}, {}, http::MOVED_PERMANENTLY, + client, {}, {}, http::PERMANENT_REDIRECT, { http::header { "Location", location } }