Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EndpointURL (0.06 sec)

  1. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        }
    
        server.enqueue(MockResponse(code = 201))
        server.enqueue(MockResponse(code = 204))
        server.enqueue(MockResponse(code = 204))
    
        val endpointUrl = server.url("/endpoint")
    
        var request =
          Request.Builder()
            .url(endpointUrl)
            .header("Content-Type", "application/xml")
            .put(ValidRequestBody())
            .build()
        client.newCall(request).execute().use {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    				return true, errorCodes.ToAPIErrWithErr(ErrBucketRemoteIdenticalToSource, fmt.Errorf("remote target endpoint %s is self referential", clnt.EndpointURL().String()))
    			default:
    			}
    		}
    		// validate replication ARN against target endpoint
    		selfTarget, _ := isLocalHost(clnt.EndpointURL().Hostname(), clnt.EndpointURL().Port(), globalMinioPort)
    		if !sameTarget {
    			sameTarget = selfTarget
    		}
    	}
    
    	if len(arns) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    				return
    			}
    			remote, self := globalSiteReplicationSys.getPeerForUpload(deplID)
    			if self {
    				h.ServeHTTP(w, r)
    				return
    			}
    			r.URL.Scheme = remote.EndpointURL.Scheme
    			r.URL.Host = remote.EndpointURL.Host
    			// Make sure we remove any existing headers before
    			// proxying the request to another node.
    			for k := range w.Header() {
    				w.Header().Del(k)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    func isPolicyMappingEqual(p1, p2 srPolicyMapping) bool {
    	return p1.Policy == p2.Policy && p1.IsGroup == p2.IsGroup && p1.UserOrGroup == p2.UserOrGroup
    }
    
    type srPeerInfo struct {
    	madmin.PeerInfo
    	EndpointURL *url.URL
    }
    
    // getPeerForUpload returns the site replication peer handling this upload. Defaults to local cluster otherwise
    func (c *SiteReplicationSys) getPeerForUpload(deplID string) (pi srPeerInfo, local bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top