diff options
author | Job Snijders <job@cvs.openbsd.org> | 2024-03-24 10:53:28 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2024-03-24 10:53:28 +0000 |
commit | 44fb5be609d4df4d17abdf881569eaf2f9dd7171 (patch) | |
tree | 224461cd53cb498971ef59a532c3a4b2e67fbb70 /usr.sbin/httpd | |
parent | 2e97d28bc6771723a155e8353ea05679ee999082 (diff) |
Sync with IANA Status Code Registry
From https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
OK sthen@ miod@
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/http.h | 9 |
1 files 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 <reyk@openbsd.org> @@ -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" }, \ |