Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cloneMultipartForm (0.19 sec)

  1. src/net/http/clone.go

    		*u2.User = *u.User
    	}
    	return u2
    }
    
    // cloneMultipartForm should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    //   - github.com/searKing/golang
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname cloneMultipartForm
    func cloneMultipartForm(f *multipart.Form) *multipart.Form {
    	if f == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/net/http/request.go

    		s2 := make([]string, len(s))
    		copy(s2, s)
    		r2.TransferEncoding = s2
    	}
    	r2.Form = cloneURLValues(r.Form)
    	r2.PostForm = cloneURLValues(r.PostForm)
    	r2.MultipartForm = cloneMultipartForm(r.MultipartForm)
    
    	// Copy matches and otherValues. See issue 61410.
    	if s := r.matches; s != nil {
    		s2 := make([]string, len(s))
    		copy(s2, s)
    		r2.matches = s2
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top