diff --git a/std/http/http_status.ts b/std/http/http_status.ts index e8d178212a..a0d0c278dc 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.Continue, "Continue"], [Status.SwitchingProtocols, "Switching Protocols"], [Status.Processing, "Processing"], + [Status.EarlyHints, "Early Hints"], [Status.OK, "OK"], [Status.Created, "Created"], [Status.Accepted, "Accepted"],