Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for respond (0.12 sec)

  1. src/test/java/jcifs/http/NtlmSspTest.java

            // Type 3 indicator
            message[8] = 0x03;
    
            // LM Response (24 bytes at offset 64)
            message[12] = 24; // Length
            message[13] = 0;
            message[14] = 24; // Max Length
            message[15] = 0;
            message[16] = 64; // Offset
            message[17] = 0;
            message[18] = 0;
            message[19] = 0;
    
            // NT Response (24 bytes at offset 88)
            message[20] = 24; // Length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  2. docs/en/docs/tutorial/cors.md

    In this case the middleware will intercept the incoming request and respond with appropriate CORS headers, and either a `200` or `400` response for informational purposes.
    
    ### Simple requests { #simple-requests }
    
    Any request with an `Origin` header. In this case the middleware will pass the request through as normal, but will include appropriate CORS headers on the response.
    
    ## More info { #more-info }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    If it doesn't see an `Authorization` header, or the value doesn't have a `Bearer ` token, it will respond with a 401 status code error (`UNAUTHORIZED`) directly.
    
    You don't even have to check if the token exists to return an error. You can be sure that if your function is executed, it will have a `str` in that token.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image01.png">
    
    You can type messages in the input box, and send them:
    
    <img src="/img/tutorial/websockets/image02.png">
    
    And your **FastAPI** application with WebSockets will respond back:
    
    <img src="/img/tutorial/websockets/image03.png">
    
    You can send (and receive) many messages:
    
    <img src="/img/tutorial/websockets/image04.png">
    
    And all of them will use the same WebSocket connection.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    		return matches[1]
    	}
    	return "unknown"
    }
    
    func methodNotAllowedHandler(api string) func(w http.ResponseWriter, r *http.Request) {
    	return errorResponseHandler
    }
    
    // If none of the http routes match respond with appropriate errors
    func errorResponseHandler(w http.ResponseWriter, r *http.Request) {
    	if r.Method == http.MethodOptions {
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    final NameServicePacket response = this.responseTable.get(Integer.valueOf(nameTrnId));
                    if (response == null || response.received) {
                        continue;
                    }
                    synchronized (response) {
                        response.readWireFormat(this.rcv_buf, 0);
                        response.received = true;
    
                        if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    ```Python hl_lines="2"
    @app.get('/')
    def results():
        results = some_library()
        return results
    ```
    
    ---
    
    If your application (somehow) doesn't have to communicate with anything else and wait for it to respond, use `async def`, even if you don't need to use `await` inside.
    
    ---
    
    If you just don't know, use normal `def`.
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    	}
    
    	if err := c.syncToAllPeers(ctx, opts); err != nil {
    		result.InitialSyncErrorMessage = err.Error()
    	}
    
    	return result, nil
    }
    
    // PeerJoinReq - internal API handler to respond to a peer cluster's request to join.
    func (c *SiteReplicationSys) PeerJoinReq(ctx context.Context, arg madmin.SRPeerJoinReq) error {
    	var ourName string
    	for d, p := range arg.Peers {
    		if d == globalDeploymentID() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (1)
  9. docs/en/docs/advanced/response-directly.md

    But you can return a `JSONResponse` directly from your *path operations*.
    
    It might be useful, for example, to return custom headers or cookies.
    
    ## Return a `Response` { #return-a-response }
    
    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/response-headers.md

    # Response Headers { #response-headers }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    {* ../../docs_src/response_headers/tutorial002.py hl[1, 7:8] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top