MCPcopy Create free account
hub / github.com/WICG/webpackage / Response

Struct Response

go/bundle/bundle.go:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19type Response struct {
20 Status int
21 http.Header
22 Body []byte
23}
24
25func (r Response) String() string {
26 return fmt.Sprintf("{Status: %q, Header: %v, body: %v}", r.Status, r.Header, string(r.Body))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected