MCPcopy Create free account
hub / github.com/cli/cli / bodyBytes

Method bodyBytes

script/ghmock/store.go:27–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27func (r response) bodyBytes() []byte {
28 if r.RawBody != nil {
29 return *r.RawBody
30 }
31 return r.Body
32}
33
34func (r response) contentType() string {
35 for name, value := range r.Headers {

Callers 4

ServeHTTPMethod · 0.80
describeResponseFunction · 0.80
checkMethod · 0.80
checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected