From 8c69065e83031e14be0a8c4102f73b77fe8c5e62 Mon Sep 17 00:00:00 2001 From: Josh Larsen <2565382+joshlarsen@users.noreply.github.com> Date: Tue, 10 Oct 2023 02:11:18 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20[Doc]=20fix=20incorrect=20status?= =?UTF-8?q?=20code=20source=20(#2667)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix incorrect status code source * fix typo --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index cc36f13e..00414589 100644 --- a/helpers.go +++ b/helpers.go @@ -625,7 +625,7 @@ const ( MIMEApplicationJavaScriptCharsetUTF8 = "application/javascript; charset=utf-8" ) -// HTTP status codes were copied from https://github.com/nginx/nginx/blob/67d2a9541826ecd5db97d604f23460210fd3e517/conf/mime.types with the following updates: +// HTTP status codes were copied from net/http with the following updates: // - Rename StatusNonAuthoritativeInfo to StatusNonAuthoritativeInformation // - Add StatusSwitchProxy (306) // NOTE: Keep this list in sync with statusMessage