MCPcopy 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
38func (r *Response) QueryHeader(key string) string {
39 return r.Header().Get(key)
40}
41
42func (r *Response) Redirect(code int, targetUrl string) error {
43 r.Header().Set(HeaderCacheControl, "no-cache")

Callers

nothing calls this directly

Calls 2

HeaderMethod · 0.95
GetMethod · 0.65

Tested by

no test coverage detected