Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newTree (0.12 sec)

  1. src/net/http/client_test.go

    		{lastReq: "http://gopher:******@****.***", newReq: "http://link.com", want: "http://test.com"},
    		{lastReq: "https://gopher:******@****.***", newReq: "https://link.com", want: "https://test.com"},
    
    		// nothing to do:
    		{lastReq: "http://test.com", newReq: "http://link.com", want: "http://test.com"},
    		{lastReq: "https://test.com", newReq: "https://link.com", want: "https://test.com"},
    
    		// https to http doesn't send a referer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	// root user.
    	if newCred.ParentUser != globalActiveCred.AccessKey {
    		replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    			Type: madmin.SRIAMItemSvcAcc,
    			SvcAccChange: &madmin.SRSvcAccChange{
    				Create: &madmin.SRSvcAccCreate{
    					Parent:        newCred.ParentUser,
    					AccessKey:     newCred.AccessKey,
    					SecretKey:     newCred.SecretKey,
    					Groups:        newCred.Groups,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		hexChunkSize, chunkSignature))
    	newChunk, err := io.ReadAll(bufReader)
    	if err != nil {
    		return nil, err
    	}
    	newReq := req
    	newReq.Body = io.NopCloser(
    		bytes.NewReader(bytes.Join([][]byte{newChunkHdr, newChunk[:len(newChunk)/2]},
    			[]byte(""))),
    	)
    	return newReq, nil
    }
    
    // Malform data given a request signed using streaming signature V4.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/net/http/transport.go

    // 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}
    	return &newReq
    }
    
    // rewindBody returns a new request with the body rewound.
    // It returns req unmodified if the body does not need rewinding.
    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