308 and 307 are the new 301 and 302 HTTP Status Codes:
https://tools.ietf.org/html/rfc7538
https://tools.ietf.org/html/rfc7231#section-6.4.7
...
The server SHOULD generate a Location header field ([RFC7231],
Section 7.1.2) in the response containing a preferred URI reference
...
ok?
diff --git usr.sbin/httpd/server_http.c usr.sbin/httpd/server_http.c
index e64de0d2f9c..48bc773332a 100644
--- usr.sbin/httpd/server_http.c
+++ usr.sbin/httpd/server_http.c
@@ -875,6 +875,8 @@ server_abort_http(struct client *clt, unsigned int code,
const char *msg)
case 301:
case 302:
case 303:
+ case 307:
+ case 308:
if (msg == NULL)
break;
memset(buf, 0, sizeof(buf));