Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 172 for send0 (0.46 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        /**
         * Apply inbound settings and send an acknowledgement to the peer that provided them.
         *
         * We need to apply the settings and ack them atomically. This is because some HTTP/2
         * implementations (nghttp2) forbid peers from taking advantage of settings before they have
         * acknowledged! In particular, we shouldn't send frames that assume a new `initialWindowSize`
         * until we send the frame that acknowledges this new size.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/strict-content-type.md

    Then the malicious website could make the local AI agent send angry messages to the user's ex-boss... or worse. 😅
    
    ## Open Internet { #open-internet }
    
    If your app is in the open internet, you wouldn't "trust the network" and let anyone send privileged requests without authentication.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/server-sent-events.md

    `data` and `raw_data` are mutually exclusive. You can only set one of them on each `ServerSentEvent`.
    
    ///
    
    ## Resuming with `Last-Event-ID` { #resuming-with-last-event-id }
    
    When a browser reconnects after a connection drop, it sends the last received `id` in the `Last-Event-ID` header.
    
    You can read it as a header parameter and use it to resume the stream from where the client left off:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/body.md

    # Request Body { #request-body }
    
    When you need to send data from a client (let's say, a browser) to your API, you send it as a **request body**.
    
    A **request** body is data sent by the client to your API. A **response** body is the data your API sends to the client.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. fastapi/sse.py

                """
            ),
        ] = None
        raw_data: Annotated[
            str | None,
            Doc(
                """
                Raw string to send as the `data:` field **without** JSON encoding.
    
                Use this when you need to send pre-formatted text, HTML fragments,
                CSV lines, or any non-JSON payload. The string is placed directly
                into the `data:` field as-is.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/request-forms.md

    ///
    
    ## About "Form Fields" { #about-form-fields }
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | Technical Details
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/openapi-callbacks.md

    So, if your API user (the external developer) sends a request to *your API* to:
    
    ```
    https://yourapi.com/invoices/?callback_url=https://www.external.org/events
    ```
    
    with a JSON body of:
    
    ```JSON
    {
        "id": "2expen51ve",
        "customer": "Mr. Richie Rich",
        "total": "9999"
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. fastapi/security/api_key.py

            include a WWW-Authenticate header.
    
            Ref: https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized
    
            For this, this method sends a custom challenge `APIKey`.
            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "APIKey"},
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  9. docs/en/docs/tutorial/security/first-steps.md

    So, let's review it from that simplified point of view:
    
    * The user types the `username` and `password` in the frontend, and hits `Enter`.
    * 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).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/security/http-basic-auth.md

    That tells the browser to show the integrated prompt for a username and password.
    
    Then, when you type that username and password, the browser sends them in the header automatically.
    
    ## Simple HTTP Basic Auth { #simple-http-basic-auth }
    
    * Import `HTTPBasic` and `HTTPBasicCredentials`.
    * Create a "`security` scheme" using `HTTPBasic`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
Back to Top