diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-09-09 18:38:13 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-09-09 18:38:13 +0700 |
| commit | 960c64422fd13647d52a98bb11a43e459c8427f1 (patch) | |
| tree | a96300e5f62eb97e1ee47b11ff1abe3ffc0a4684 | |
| parent | 3f18324f5607cd103383365d2cb330639d6d2e36 (diff) | |
| download | pakakeh.go-960c64422fd13647d52a98bb11a43e459c8427f1.tar.xz | |
http: add constanst for header "Authorization" and key "Bearer"
| -rw-r--r-- | lib/http/http.go | 2 |
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 ( |
