MCPcopy Create free account
hub / github.com/devfeel/dotweb / QueryHeader

Method QueryHeader

request.go:139–141  ·  view source on GitHub ↗

QueryHeader query header value by key

(key string)

Source from the content-addressed store, hash-verified

137
138// QueryHeader query header value by key
139func (req *Request) QueryHeader(key string) string {
140 return req.Header.Get(key)
141}
142
143// PostString returns the first value for the named component of the POST
144// or PUT request body. URL query parameters are ignored.

Callers 2

parseFormMethod · 0.95
CheckNeedMockMethod · 0.45

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected