MCPcopy Index your code
hub / github.com/mpolden/echoip / IsJSON

Method IsJSON

http/error.go:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func (e *appError) IsJSON() bool {
39 return e.ContentType == jsonMediaType
40}

Callers 1

ServeHTTPMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected