authorgravatar for alichraghi@proton.meAli Chraghi <alichraghi@proton.me> 2022-10-06 19:59:53+03:30
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-10-06 21:22:20+03:00
log11dce78944ecfab1838cd678f75c354aa376a8bf
tree99919c3784c3f139490038f50134c16399f363fa
parent6672921e32638a9f7e7d2d1c7961b2ea33b8b02b

std.http: fix typo


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/http/status.zig+2-2
...@@ -5,7 +5,7 @@ const std = @import("../std.zig");...@@ -5,7 +5,7 @@ const std = @import("../std.zig");
55
6pub const Status = enum(u10) {6pub const Status = enum(u10) {
7 @"continue" = 100, // RFC7231, Section 6.2.17 @"continue" = 100, // RFC7231, Section 6.2.1
8 switching_protcols = 101, // RFC7231, Section 6.2.28 switching_protocols = 101, // RFC7231, Section 6.2.2
9 processing = 102, // RFC25189 processing = 102, // RFC2518
10 early_hints = 103, // RFC829710 early_hints = 103, // RFC8297
1111
...@@ -77,7 +77,7 @@ pub const Status = enum(u10) {...@@ -77,7 +77,7 @@ pub const Status = enum(u10) {
77 return switch (self) {77 return switch (self) {
78 // 1xx statuses78 // 1xx statuses
79 .@"continue" => "Continue",79 .@"continue" => "Continue",
80 .switching_protcols => "Switching Protocols",80 .switching_protocols => "Switching Protocols",
81 .processing => "Processing",81 .processing => "Processing",
82 .early_hints => "Early Hints",82 .early_hints => "Early Hints",
8383