Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for respondsTo (0.17 sec)

  1. src/net/http/server.go

    	// Deprecated: ErrWriteAfterFlush is no longer returned by
    	// anything in the net/http package. Callers should not
    	// compare errors against this variable.
    	ErrWriteAfterFlush = errors.New("unused")
    )
    
    // A Handler responds to an HTTP request.
    //
    // [Handler.ServeHTTP] should write reply headers and data to the [ResponseWriter]
    // and then return. Returning signals that the request is finished; it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    	{
    		expectation:      "100-continue",
    		readBody:         true,
    		chunked:          true,
    		expectedResponse: "100 Continue",
    	},
    }
    
    // Tests that the server responds to the "Expect" request header
    // correctly.
    func TestServerExpect(t *testing.T) { run(t, testServerExpect, []testMode{http1Mode}) }
    func testServerExpect(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        executeSynchronously(request).assertBody("abc")
      }
    
      /**
       * Make a request with two routes. The first route will fail because the null server connects but
       * never responds. The manual retry will succeed.
       */
      @Test
      fun readTimeoutFails() {
        server.enqueue(MockResponse(socketPolicy = StallSocketAtStart))
        server2.enqueue(
          MockResponse(body = "success!"),
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	// leading to higher cpu usage.
    	// Note that even though we set the period to 1s, the relisting itself can
    	// take more than 1s to finish if the container runtime responds slowly
    	// and/or when there are many container changes in one cycle.
    	genericPlegRelistPeriod    = time.Second * 1
    	genericPlegRelistThreshold = time.Minute * 3
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top