From d815e79c55c30ed9b49cfb5e2039b035d2049af4 Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Wed, 11 Jan 2023 20:46:46 +0600 Subject: [PATCH] :label: Added more HTTP Headers constants --- internal/common/common.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/internal/common/common.go b/internal/common/common.go index dfd2445..9a5a60f 100644 --- a/internal/common/common.go +++ b/internal/common/common.go @@ -13,8 +13,18 @@ const ( ) const ( - HeaderContentType string = "Content-Type" - HeaderAuthorization string = "Authorization" + HeaderAccept string = "Accept" + HeaderAcceptLanguage string = "Accept-Language" + HeaderAccessControlAllowOrigin string = "Access-Control-Allow-Origin" + HeaderAuthorization string = "Authorization" + HeaderContentType string = "Content-Type" + HeaderCookie string = "Cookie" + HeaderHost string = "Host" + HeaderLink string = "Link" + HeaderLocation string = "Location" + HeaderVary string = "Vary" + HeaderWWWAuthenticate string = "WWW-Authenticate" + HeaderXCSRFToken string = "X-CSRF-Token" ) const Und string = "und"