net/http.Request.Body (field)
56 uses
net/http (current package)
client.go#L671: req.Body, err = ireq.GetBody()
h2_bundle.go#L5825: st.body = req.Body.(*http2requestBody).pipe // may be nil
h2_bundle.go#L6014: req.Body.(*http2requestBody).pipe = &http2pipe{
h2_bundle.go#L6093: Body: body,
h2_bundle.go#L7705: if req.Body == nil || req.Body == NoBody {
h2_bundle.go#L7717: newReq.Body = body
h2_bundle.go#L8281: if req.Body == nil || req.Body == NoBody {
h2_bundle.go#L8309: reqBody: req.Body,
request.go#L190: Body io.ReadCloser
request.go#L491: if r.Body == nil {
request.go#L502: return multipart.NewReader(r.Body, boundary), nil
request.go#L895: Body: rc,
request.go#L937: req.Body = NoBody
request.go#L1218: if r.Body == nil {
request.go#L1231: var reader io.Reader = r.Body
request.go#L1233: if _, ok := r.Body.(*maxBytesReader); !ok {
request.go#L1235: reader = io.LimitReader(r.Body, maxFormSize+1)
request.go#L1434: if r.Body == nil {
request.go#L1437: return r.Body.Close()
request.go#L1441: if r.Body == nil || r.Body == NoBody || r.GetBody != nil {
request.go#L1459: if r.Body == nil || r.Body == NoBody {
server.go#L1038: if body, ok := req.Body.(*body); ok {
server.go#L1051: reqBody: req.Body,
server.go#L1365: if ecr, ok := w.req.Body.(*expectContinueReader); ok && !ecr.sawEOF.Load() {
server.go#L1379: switch bdy := w.req.Body.(type) {
server.go#L1706: body, ok := w.req.Body.(*body)
server.go#L1985: req.Body = &expectContinueReader{readCloser: req.Body, resp: w}
server.go#L1995: if requestBodyRemains(req.Body) {
server.go#L1996: registerOnHitEOF(req.Body, w.conn.r.startBackgroundRead)
server.go#L3515: mb := MaxBytesReader(w, r.Body, 4<<10)
server.go#L3540: if req.Body == nil {
server.go#L3541: req.Body = NoBody
server.go#L3642: r2.Body = MaxBytesReader(w, r.Body, n)
transfer.go#L83: if rr.ContentLength != 0 && rr.Body == nil {
transfer.go#L91: t.Body = rr.Body
transfer.go#L92: t.BodyCloser = rr.Body
transfer.go#L583: rr.Body = t.Body
transport.go#L625: if b, ok := req.Body.(*readTrackingBody); ok && !b.didClose {
transport.go#L666: if req.Body == nil || req.Body == NoBody {
transport.go#L670: newReq.Body = &readTrackingBody{ReadCloser: req.Body}
transport.go#L679: if req.Body == nil || req.Body == NoBody || (!req.Body.(*readTrackingBody).didRead && !req.Body.(*readTrackingBody).didClose) {
transport.go#L682: if !req.Body.(*readTrackingBody).didClose {
transport.go#L693: newReq.Body = &readTrackingBody{ReadCloser: body}
transport.go#L2607: if req.ProtoAtLeast(1, 1) && req.Body != nil && req.expectsContinue() {
go.uber.org/zap
http_handler.go#L114: return decodePutJSON(r.Body)
|
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. |