Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for payloadCh (0.07 sec)

  1. tests/test_tutorial/test_security/test_tutorial007.py

        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_security_http_basic_non_basic_credentials(client: TestClient):
        payload = b64encode(b"johnsecret").decode("ascii")
        auth_header = f"Basic {payload}"
        response = client.get("/users/me", headers={"Authorization": auth_header})
        assert response.status_code == 401, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. tests/benchmarks/test_general_performance.py

        return ItemOut(name=item.name, value=item.value, dep=dep)
    
    
    @app.post("/sync/large-receive")
    def sync_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.post("/async/large-receive")
    async def async_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.get("/sync/large-dict-no-response-model")
    def sync_large_dict_no_response_model():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. docs/de/llm-prompt.md

    * «the query parameter»: «der Query-Parameter»
    * «the cookie parameter»: «der Cookie-Parameter»
    * «the header parameter»: «der Header-Parameter»
    * «the form parameter»: «der Formular-Parameter»
    * «the payload»: «die Payload»
    * «the performance»: NOT «die Performance»
    * «the query»: «die Query»
    * «the recap»: «die Zusammenfassung»
    * «the request» (what the client sends to the server): «der Request»
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Dann verwenden wir den Request direkt und extrahieren den Body als `bytes`. Das bedeutet, dass FastAPI nicht einmal versucht, die Request-Payload als JSON zu parsen.
    
    Und dann parsen wir in unserem Code diesen YAML-Inhalt direkt und verwenden dann wieder dasselbe Pydantic-Modell, um den YAML-Inhalt zu validieren:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    This change fixes a [CSRF](https://en.wikipedia.org/wiki/Cross-site_request_forgery) security vulnerability when using cookies for authentication in path operations with JSON payloads sent by browsers.
    
    In versions lower than `0.65.2`, FastAPI would try to read the request payload as JSON even if the `content-type` header sent was not set to `application/json` or a compatible JSON media type (e.g. `application/geo+json`).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top