Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfeel/dotweb
/ QueryHeader
Method
QueryHeader
response.go:38–40 ·
view source on GitHub ↗
(key string)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
(r *Response) QueryHeader(key string) string {
39
return
r.Header().Get(key)
40
}
41
42
func
(r *Response) Redirect(code int, targetUrl string) error {
43
r.Header().Set(HeaderCacheControl,
"no-cache"
)
Callers
nothing calls this directly
Calls
2
Header
Method · 0.95
Get
Method · 0.65
Tested by
no test coverage detected