diff options
| author | Shulhan <ms@kilabit.info> | 2024-02-20 19:36:13 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-02-20 19:36:13 +0700 |
| commit | 1241a58fc0daffeba92aba97653f04d69450c673 (patch) | |
| tree | f79bf8fa47a3cfdfd896e659148e513b133d5451 | |
| parent | c14c0aada8812f5540b9e2e27ad82b91e384d228 (diff) | |
| download | pakakeh.go-1241a58fc0daffeba92aba97653f04d69450c673.tar.xz | |
lib/http: add constanta for header Set-Cookie
| -rw-r--r-- | lib/http/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http/http.go b/lib/http/http.go index a5b721ba..8dd0d9c3 100644 --- a/lib/http/http.go +++ b/lib/http/http.go @@ -301,6 +301,7 @@ const ( HeaderLocation = `Location` HeaderOrigin = `Origin` HeaderRange = `Range` + HeaderSetCookie = `Set-Cookie` HeaderUserAgent = `User-Agent` HeaderXForwardedFor = `X-Forwarded-For` // https://en.wikipedia.org/wiki/X-Forwarded-For HeaderXRealIp = `X-Real-Ip` //revive:disable-line |
