MCPcopy Index your code
hub / github.com/imroc/req / HeaderToString

Method HeaderToString

response.go:303–308  ·  view source on GitHub ↗

HeaderToString get all header as string.

()

Source from the content-addressed store, hash-verified

301
302// HeaderToString get all header as string.
303func (r *Response) HeaderToString() string {
304 if r.Response == nil {
305 return ""
306 }
307 return convertHeaderToString(r.Header)
308}

Callers

nothing calls this directly

Calls 1

convertHeaderToStringFunction · 0.85

Tested by

no test coverage detected