summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-09-09 18:38:13 +0700
committerShulhan <m.shulhan@gmail.com>2020-09-09 18:38:13 +0700
commit960c64422fd13647d52a98bb11a43e459c8427f1 (patch)
treea96300e5f62eb97e1ee47b11ff1abe3ffc0a4684
parent3f18324f5607cd103383365d2cb330639d6d2e36 (diff)
downloadpakakeh.go-960c64422fd13647d52a98bb11a43e459c8427f1.tar.xz
http: add constanst for header "Authorization" and key "Bearer"
-rw-r--r--lib/http/http.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http/http.go b/lib/http/http.go
index 2e3c9220..51b6f3ac 100644
--- a/lib/http/http.go
+++ b/lib/http/http.go
@@ -165,11 +165,13 @@ const (
HeaderACRequestMethod = "Access-Control-Request-Method"
HeaderACRequestHeaders = "Access-Control-Request-Headers"
HeaderAllow = "Allow"
+ HeaderAuthorization = "Authorization"
HeaderContentLength = "Content-Length"
HeaderContentType = "Content-Type"
HeaderLocation = "Location"
HeaderOrigin = "Origin"
HeaderUserAgent = "User-Agent"
+ HeaderAuthKeyBearer = "Bearer"
)
var (