net/http.Response.Body (field)

36 uses

	net/http (current package)
		client.go#L279: 	if resp.Body == nil {
		client.go#L293: 		resp.Body = io.NopCloser(strings.NewReader(""))
		client.go#L296: 		resp.Body = &cancelTimerBody{
		client.go#L298: 			rc:            resp.Body,
		client.go#L706: 				io.CopyN(io.Discard, resp.Body, maxBodySlurpSize)
		client.go#L708: 			resp.Body.Close()
		filetransport.go#L59: 			Body:       pr,
		h2_bundle.go#L8346: 		if res.Body == http2noBody && http2actualContentLength(req) == 0 {
		h2_bundle.go#L9554: 		res.Body = http2noBody
		h2_bundle.go#L9560: 			res.Body = http2missingBody{}
		h2_bundle.go#L9562: 			res.Body = http2noBody
		h2_bundle.go#L9569: 	res.Body = http2transportResponseBody{cs}
		h2_bundle.go#L9575: 		res.Body = &http2gzipReader{body: res.Body}
		response.go#L72: 	Body io.ReadCloser
		response.go#L266: 	if r1.ContentLength == 0 && r1.Body != nil {
		response.go#L269: 		n, err := r1.Body.Read(buf[:])
		response.go#L276: 			r1.Body = NoBody
		response.go#L279: 			r1.Body = struct {
		response.go#L283: 				io.MultiReader(bytes.NewReader(buf[:1]), r.Body),
		response.go#L284: 				r.Body,
		response.go#L337: 	if r.Body != nil {
		response.go#L338: 		r.Body.Close()
		response.go#L350: 	_, ok := r.Body.(io.Writer)
		transfer.go#L114: 		t.Body = rr.Body
		transfer.go#L115: 		t.BodyCloser = rr.Body
		transfer.go#L591: 		rr.Body = t.Body
		transport.go#L2199: 			body: resp.Body,
		transport.go#L2220: 		resp.Body = body
		transport.go#L2222: 			resp.Body = &gzipReader{body: body}
		transport.go#L2347: 		resp.Body = newReadWriteCloserBody(pc.br, pc.conn)

	github.com/gotd/td/telegram/dcs
		websocket.go#L35: 	if resp != nil && resp.Body != nil {
		websocket.go#L36: 		_ = resp.Body.Close()

	nhooyr.io/websocket
		dial.go#L132: 	respBody := resp.Body
		dial.go#L133: 	resp.Body = nil
		dial.go#L146: 			resp.Body = io.NopCloser(bytes.NewReader(b))