Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for respondsTo (0.27 sec)

  1. docs/en/docs/tutorial/cors.md

    * `expose_headers` - Indicate any response headers that should be made accessible to the browser. Defaults to `[]`.
    * `max_age` - Sets a maximum time in seconds for browsers to cache CORS responses. Defaults to `600`.
    
    The middleware responds to two particular types of HTTP request...
    
    ### CORS preflight requests
    
    These are any `OPTIONS` request with `Origin` and `Access-Control-Request-Method` headers.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Nov 13 20:28:37 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go

    			}
    			if authenticated {
    				t.Errorf("%s: incorrectly authenticated token", tt.test)
    			}
    		}()
    	}
    }
    
    // recorderV1beta1Service records all token review requests, and responds with the
    // provided TokenReviewStatus.
    type recorderV1beta1Service struct {
    	lastRequest authenticationv1beta1.TokenReview
    	response    authenticationv1beta1.TokenReviewStatus
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.2K bytes
    - Viewed (0)
Back to top