Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for ACCEPT (0.16 sec)

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

            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("B")
            .build(),
        )
        val url = server.url("/")
        val request =
          Request.Builder()
            .url(url)
            .header("Accept-Language", "fr-CA")
            .header("Accept-Charset", "UTF-8")
            .header("Accept-Encoding", "identity")
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

          .assertHeader("Donut", "a")
          .assertHeader("ETag", "v1")
          .assertRequestUrl(server.url("/"))
          .assertRequestHeader("Accept-Language") // No Vary on Accept-Language.
          .assertRequestHeader("Accept-Charset", "UTF-8") // Because of Vary on Accept-Charset.
          .assertRequestHeader("If-None-Match") // This wasn't present in the original request.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    	ts := newClientServerTest(t, mode, HandlerFunc(func(rw ResponseWriter, req *Request) {
    		accept := req.Header.Get("Accept-Encoding")
    		if expect := req.FormValue("expect_accept"); accept != expect {
    			t.Errorf("in handler, test %v: Accept-Encoding = %q, want %q",
    				req.FormValue("testnum"), accept, expect)
    		}
    		if accept == "gzip" {
    			rw.Header().Set("Content-Encoding", "gzip")
    			gz := gzip.NewWriter(rw)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier_test.go

    			{JumpChain: string(kubeMarkMasqChain), MatchSet: kubeExternalIPSet},
    			{JumpChain: "ACCEPT", MatchSet: kubeExternalIPSet}, // With externalTrafficOnlyArgs
    			{JumpChain: "ACCEPT", MatchSet: kubeExternalIPSet}, // With dstLocalOnlyArgs
    			{JumpChain: string(kubeNodePortChain), MatchSet: ""},
    			{JumpChain: "ACCEPT", MatchSet: kubeClusterIPSet},
    			{JumpChain: "ACCEPT", MatchSet: kubeLoadBalancerSet},
    		},
    	}
    	checkIptables(t, ipt, epIpt)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  5. src/net/http/serve_test.go

    	b.ReportAllocs()
    	req := reqBytes(`GET / HTTP/1.0
    Host: golang.org
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    `)
    	res := []byte("Hello world!\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

      # We need to add rules to accept all TCP/UDP/ICMP/SCTP packets.
      if iptables -w -L INPUT | grep "Chain INPUT (policy DROP)" > /dev/null; then
        echo "Add rules to accept all inbound TCP/UDP/ICMP packets"
        iptables -w -A INPUT -w -p TCP -j ACCEPT
        iptables -w -A INPUT -w -p UDP -j ACCEPT
        iptables -w -A INPUT -w -p ICMP -j ACCEPT
        iptables -w -A INPUT -w -p SCTP -j ACCEPT
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          getResponse(
            Request.Builder()
              .url(server.url("/"))
              .header("Accept-Encoding", "custom")
              .build(),
          )
        assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE)).isEqualTo("ABCDE")
        val request = server.takeRequest()
        assertThat(request.headers["Accept-Encoding"]).isEqualTo("custom")
      }
    
      /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public void forEach(BiConsumer<? super K, ? super V> action) {
          checkNotNull(action);
          // avoids allocation of entries
          backingSet().forEach(k -> action.accept(k, function.apply(k)));
        }
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          Iterator<Entry<K, V>> asMapEntryIterator(Set<K> set, final Function<? super K, V> function) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  9. src/net/http/server.go

    		if baseCtx == nil {
    			panic("BaseContext returned a nil context")
    		}
    	}
    
    	var tempDelay time.Duration // how long to sleep on accept failure
    
    	ctx := context.WithValue(baseCtx, ServerContextKey, srv)
    	for {
    		rw, err := l.Accept()
    		if err != nil {
    			if srv.shuttingDown() {
    				return ErrServerClosed
    			}
    			if ne, ok := err.(net.Error); ok && ne.Temporary() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

    		templateVars: func(src echo.Callers, dests echo.Instances) map[string]any {
    			// Test all cipher suites, including a fake one. Envoy should accept all of the ones on the "valid" list,
    			// and control plane should filter our invalid one.
    
    			params := templateParams(protocol.HTTPS, src, dests, append(sets.SortedList(security.ValidCipherSuites), "fake"), ports.HTTP.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top