Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for respAdd (0.47 sec)

  1. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(weightedCluster).NotTo(BeNil())
    		g.Expect(len(weightedCluster.GetClusters())).To(Equal(2))
    
    		expectResults := []struct {
    			reqAdd     []*envoycore.HeaderValueOption
    			reqRemove  []string
    			respAdd    []*envoycore.HeaderValueOption
    			respRemove []string
    			authority  string
    		}{
    			{
    				reqAdd: []*envoycore.HeaderValueOption{
    					{
    						Header: &envoycore.HeaderValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    	requestHeadersToAdd = append(requestHeadersToAdd, reqAdd...)
    
    	responseHeadersToAdd, _ := translateAppendHeaders(resp.GetSet(), false)
    	respAdd, _ := translateAppendHeaders(resp.GetAdd(), true)
    	responseHeadersToAdd = append(responseHeadersToAdd, respAdd...)
    
    	auth := addAuthority
    	if setAuthority != "" {
    		// If authority is set in 'add' and 'set', pick the one from 'set'
    		auth = setAuthority
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpBuildCacheServer.groovy

                void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
                    for (responder in responders) {
                        if (!responder.respond(request as HttpServletRequest, response as HttpServletResponse)) {
                            return
                        }
                    }
                    chain.doFilter(request, response)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. pkg/xds/server.go

    	// Envoy can send two DiscoveryRequests with same version and nonce.
    	// when it detects a new resource. We should respond if they change.
    	prev := sets.New(previousResources...)
    	cur := sets.New(request.ResourceNames...)
    	removed := prev.Difference(cur)
    	added := cur.Difference(prev)
    
    	// We should always respond "alwaysRespond" marked requests to let Envoy finish warming
    	// even though Nonce match and it looks like an ACK.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. pilot/pkg/xds/delta.go

    	// with EDS and SDS.
    	// This can happen with the following sequence
    	// 1. Envoy disconnects and reconnects to Istiod.
    	// 2. Envoy sends EDS request and we respond with it.
    	// 3. Envoy sends CDS request and we respond with clusters.
    	// 4. Envoy detects a change in cluster state and tries to warm those clusters but never sends
    	//    an EDS request for them.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val client =
            OkHttpClient.Builder()
              .proxy(Proxy(SOCKS, InetSocketAddress(socks5Proxy.host, socks5Proxy.firstMappedPort)))
              .build()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

          mockServerClient
            .`when`(
              request().withPath("/person")
                .withQueryStringParameter("name", "peter"),
            )
            .respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. pilot/pkg/xds/workload.go

    	full := (isReq && w.Wildcard) || (!isReq && req.Full && len(req.ConfigsUpdated) == 0)
    
    	// Nothing to do
    	if len(addresses) == 0 && !full {
    		if isReq {
    			// We need to respond for requests, even if we have nothing to respond with
    			return make(model.Resources, 0), nil, model.XdsLogDetails{}, false, nil
    		}
    		// For NOP pushes, no need
    		return nil, nil, model.XdsLogDetails{}, false, nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         */
        fun fastFallback(fastFallback: Boolean) =
          apply {
            this.fastFallback = fastFallback
          }
    
        /**
         * Sets the authenticator used to respond to challenges from origin servers. Use
         * [proxyAuthenticator] to set the authenticator for proxy servers.
         *
         * If unset, the [no authentication will be attempted][Authenticator.NONE].
         */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
Back to top