Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for respondsTo (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    // WithTimeout returns an http.Handler that runs h with a timeout
    // determined by timeoutFunc. The new http.Handler calls h.ServeHTTP to handle
    // each request, but if a call runs for longer than its time limit, the
    // handler responds with a 504 Gateway Timeout error and the message
    // provided. (If msg is empty, a suitable default message will be sent.) After
    // the handler times out, writes by h to its http.ResponseWriter will return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/net/http/httputil/dump.go

    	// on the wire, but not using TCP.  Use a Transport with a
    	// custom dialer that returns a fake net.Conn that waits
    	// for the full input (and recording it), and then responds
    	// with a dummy response.
    	var buf bytes.Buffer // records the output
    	pr, pw := io.Pipe()
    	defer pr.Close()
    	defer pw.Close()
    	dr := &delegateReader{c: make(chan io.Reader)}
    
    	t := &http.Transport{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    * The frontend (running in the user's browser) sends that `username` and `password` to a specific URL in our API (declared with `tokenUrl="token"`).
    * The API checks that `username` and `password`, and responds with a "token" (we haven't implemented any of this yet).
        * A "token" is just a string with some content that we can use later to verify this user.
        * Normally, a token is set to expire after some time.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:48:20 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. internal/rest/client.go

    			logger.LogOnceIf(ctx, logSubsys, err, c.url.Host)
    			c.MarkOffline(err)
    		}
    		defer xhttp.DrainBody(resp.Body)
    		// Limit the ReadAll(), just in case, because of a bug, the server responds with large data.
    		b, err := io.ReadAll(io.LimitReader(resp.Body, c.MaxErrResponseSize))
    		if err != nil {
    			if xnet.IsNetworkOrHostDown(err, expectTimeouts) {
    				if !c.NoMetrics {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       * have been received. If the returned list contains multiple blocks of headers the blocks will be
       * delimited by 'null'.
       *
       * @param callerIsIdle true if the caller isn't sending any more bytes until the peer responds.
       *     This is true after a `Expect-Continue` request, false for duplex requests, and false for
       *     all other requests.
       */
      @Throws(IOException::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_repositories.adoc

    Authentication based on any custom HTTP header, e.g. private tokens, OAuth tokens, etc.
    
    [[sub:preemptive_authentication]]
    === Using preemptive authentication
    
    Gradle's default behavior is to only submit credentials when a server responds with an authentication challenge in the form of an HTTP 401 response.
    In some cases, the server will respond with a different code (ex. for repositories hosted on GitHub a 404 is returned) causing dependency resolution to fail.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 43.2K bytes
    - Viewed (0)
  7. 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)
  8. pkg/kubelet/server/server.go

    	http.StatusOK,
    	http.StatusFound,
    	http.StatusMovedPermanently,
    	http.StatusTemporaryRedirect,
    	http.StatusBadRequest,
    	http.StatusNotFound,
    	http.StatusSwitchingProtocols,
    )
    
    // ServeHTTP responds to HTTP requests on the Kubelet.
    func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
    	handler := httplog.WithLogging(s.restfulCont, statusesNoTracePred)
    
    	// monitor http requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * Protocol negotiation is only attempted for HTTPS URLs.
         *
         * [Protocol.HTTP_1_0] is not supported in this set. Requests are initiated with `HTTP/1.1`. If
         * the server responds with `HTTP/1.0`, that will be exposed by [Response.protocol].
         *
         * [alpn]: http://tools.ietf.org/html/draft-ietf-tls-applayerprotoneg
         * [rfc_2616]: http://www.w3.org/Protocols/rfc2616/rfc2616.html
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/crds/standard-install.yaml

                                    requestRedirect:
                                      description: "RequestRedirect defines a schema for
                                        a filter that responds to the request with an
                                        HTTP redirection. \n Support: Core"
                                      properties:
                                        hostname:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 458.3K bytes
    - Viewed (0)
Back to top