summaryrefslogtreecommitdiff
path: root/std/http
diff options
context:
space:
mode:
Diffstat (limited to 'std/http')
-rw-r--r--std/http/http_status.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/std/http/http_status.ts b/std/http/http_status.ts
index e8d178212..a0d0c278d 100644
--- a/std/http/http_status.ts
+++ b/std/http/http_status.ts
@@ -8,7 +8,8 @@ export enum Status {
SwitchingProtocols = 101,
/** RFC 2518, 10.1 */
Processing = 102,
-
+ /** RFC 8297 **/
+ EarlyHints = 103,
/** RFC 7231, 6.3.1 */
OK = 200,
/** RFC 7231, 6.3.2 */
@@ -134,6 +135,7 @@ export const STATUS_TEXT = new Map<Status, string>([
[Status.Continue, "Continue"],
[Status.SwitchingProtocols, "Switching Protocols"],
[Status.Processing, "Processing"],
+ [Status.EarlyHints, "Early Hints"],
[Status.OK, "OK"],
[Status.Created, "Created"],
[Status.Accepted, "Accepted"],