From f4ea8fe21082944c520411eb56322b4eeb490342 Mon Sep 17 00:00:00 2001 From: job Date: Sun, 24 Mar 2024 10:53:27 +0000 Subject: [PATCH] Sync with IANA Status Code Registry From https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml OK sthen@ miod@ --- usr.sbin/httpd/http.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/usr.sbin/httpd/http.h b/usr.sbin/httpd/http.h index b9f21b85915..7fc6f6f33a3 100644 --- a/usr.sbin/httpd/http.h +++ b/usr.sbin/httpd/http.h @@ -1,4 +1,4 @@ -/* $OpenBSD: http.h,v 1.16 2020/09/12 07:34:17 yasuoka Exp $ */ +/* $OpenBSD: http.h,v 1.17 2024/03/24 10:53:27 job Exp $ */ /* * Copyright (c) 2012 - 2015 Reyk Floeter @@ -131,7 +131,8 @@ struct http_error { { 100, "Continue" }, \ { 101, "Switching Protocols" }, \ { 102, "Processing" }, \ - /* 103-199 unassigned */ \ + { 103, "Early Hints" }, \ + /* 104-199 unassigned */ \ { 200, "OK" }, \ { 201, "Created" }, \ { 202, "Accepted" }, \ @@ -175,10 +176,10 @@ struct http_error { { 418, "I'm a teapot" }, \ /* 419-421 unassigned */ \ { 420, "Enhance Your Calm" }, \ - { 422, "Unprocessable Entity" }, \ + { 422, "Unprocessable Content" }, \ { 423, "Locked" }, \ { 424, "Failed Dependency" }, \ - /* 425 unassigned */ \ + { 425, "Too Early" }, \ { 426, "Upgrade Required" }, \ /* 427 unassigned */ \ { 428, "Precondition Required" }, \ -- 2.20.1