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

Method ContentType

request.go:134–136  ·  view source on GitHub ↗

ContentType get ContentType

()

Source from the content-addressed store, hash-verified

132
133// ContentType get ContentType
134func (req *Request) ContentType() string {
135 return req.Header.Get(HeaderContentType)
136}
137
138// QueryHeader query header value by key
139func (req *Request) QueryHeader(key string) string {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected