aboutsummaryrefslogtreecommitdiff
path: root/lib/http
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-02-20 19:36:13 +0700
committerShulhan <ms@kilabit.info>2024-02-20 19:36:13 +0700
commit1241a58fc0daffeba92aba97653f04d69450c673 (patch)
treef79bf8fa47a3cfdfd896e659148e513b133d5451 /lib/http
parentc14c0aada8812f5540b9e2e27ad82b91e384d228 (diff)
downloadpakakeh.go-1241a58fc0daffeba92aba97653f04d69450c673.tar.xz
lib/http: add constanta for header Set-Cookie
Diffstat (limited to 'lib/http')
-rw-r--r--lib/http/http.go1
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