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