Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 51 of 51 for hasExt (0.13 sec)

  1. src/net/http/transport.go

    // setupRewindBody returns a new request with a custom body wrapper
    // that can report whether the body needs rewinding.
    // This lets rewindBody avoid an error result when the request
    // does not have GetBody but the body hasn't been read at all yet.
    func setupRewindBody(req *Request) *Request {
    	if req.Body == nil || req.Body == NoBody {
    		return req
    	}
    	newReq := *req
    	newReq.Body = &readTrackingBody{ReadCloser: req.Body}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
Back to top