net/http.Request.GetBody (field)
15 uses
net/http (current package)
client.go#L530: if ireq.GetBody == nil && ireq.outgoingLength() != 0 {
client.go#L670: if includeBody && ireq.GetBody != nil {
client.go#L671: req.Body, err = ireq.GetBody()
h2_bundle.go#L7711: if req.GetBody != nil {
h2_bundle.go#L7712: body, err := req.GetBody()
request.go#L198: GetBody func() (io.ReadCloser, error)
request.go#L903: req.GetBody = func() (io.ReadCloser, error) {
request.go#L910: req.GetBody = func() (io.ReadCloser, error) {
request.go#L917: req.GetBody = func() (io.ReadCloser, error) {
request.go#L936: if req.GetBody != nil && req.ContentLength == 0 {
request.go#L938: req.GetBody = func() (io.ReadCloser, error) { return NoBody, nil }
request.go#L1441: if r.Body == nil || r.Body == NoBody || r.GetBody != nil {
transport.go#L685: if req.GetBody == nil {
transport.go#L688: body, err := req.GetBody()
transport.go#L727: return req.outgoingLength() == 0 || req.GetBody != nil
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |