net/http.Request.GetBody (field)
15 uses
net/http (current package)
client.go#L529: if ireq.GetBody == nil && ireq.outgoingLength() != 0 {
client.go#L672: if includeBody && ireq.GetBody != nil {
client.go#L673: req.Body, err = ireq.GetBody()
h2_bundle.go#L7801: if req.GetBody != nil {
h2_bundle.go#L7802: body, err := req.GetBody()
request.go#L195: GetBody func() (io.ReadCloser, error)
request.go#L937: req.GetBody = func() (io.ReadCloser, error) {
request.go#L944: req.GetBody = func() (io.ReadCloser, error) {
request.go#L951: req.GetBody = func() (io.ReadCloser, error) {
request.go#L970: if req.GetBody != nil && req.ContentLength == 0 {
request.go#L972: req.GetBody = func() (io.ReadCloser, error) { return NoBody, nil }
request.go#L1544: if r.Body == nil || r.Body == NoBody || r.GetBody != nil {
transport.go#L741: if req.GetBody == nil {
transport.go#L744: body, err := req.GetBody()
transport.go#L783: return req.outgoingLength() == 0 || req.GetBody != nil
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |