MCPcopy Create free account
hub / github.com/devld/go-drive / httpResponse

Struct httpResponse

script/call_http.go:188–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188type httpResponse struct {
189 vm *VM
190 Status int
191 Headers *httpHeaders
192 Body ReadCloser
193}
194
195func (r *httpResponse) BodySize() int64 {
196 return utils.ToInt64(r.Headers.Get("Content-Length"), -1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected