Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for respondsTo (0.4 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    	mux.Handle("/ui/", http.StripPrefix("/ui", handler))
    	mux.Handle("/", redirectWithQuery("/ui", http.StatusTemporaryRedirect))
    	s := &http.Server{Handler: mux}
    	return s.Serve(ln)
    }
    
    // redirectWithQuery responds with a given redirect code, preserving query
    // parameters in the redirect URL. It does not convert relative paths to
    // absolute paths like http.Redirect does, so that HTTPServerArgs.Handlers can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    		constants.StreamProtocolV5Name: {
    			Binary:   true,
    			Channels: channels,
    		},
    	})
    	conn.SetIdleTimeout(defaultIdleConnectionTimeout)
    	// Opening the connection responds to WebSocket client, negotiating
    	// the WebSocket upgrade connection and the subprotocol.
    	_, streams, err := conn.Open(w, req)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. pkg/xds/server.go

    	Watcher() Watcher
    	// Initialize checks the first request.
    	Initialize(node *core.Node) error
    	// Close discards the connection.
    	Close()
    	// Process responds to a discovery request.
    	Process(req *discovery.DiscoveryRequest) error
    	// Push responds to a push event queue
    	Push(ev any) error
    }
    
    func Stream(ctx ConnectionContext) error {
    	con := ctx.XdsConnection()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. docs/pt/docs/help-fastapi.md

    ### Não faça perguntas no chat
    
    Tenha em mente que os chats permitem uma "conversa mais livre", dessa forma é muito fácil fazer perguntas que são muito genéricas e dificeís de responder, assim você pode acabar não sendo respondido.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top