- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,828 for receive (0.05 sec)
-
tests/test_custom_middleware_exception.py
Registered: 2024-11-03 07:19 - Last Modified: 2022-08-25 21:44 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms-and-files.md
``` //// The files and form fields will be uploaded as form data and you will receive the files and form fields. And you can declare some of the files as `bytes` and some as `UploadFile`. /// warning
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 2.1K bytes - Viewed (0) -
tests/test_ws_router.py
@functools.wraps(app) async def wrapped_app(scope, receive, send): if scope["type"] != "websocket": return await app(scope, receive, send) # pragma: no cover async def call_next(): return await app(scope, receive, send) websocket = WebSocket(scope, receive=receive, send=send) return await middleware_func(websocket, call_next)
Registered: 2024-11-03 07:19 - Last Modified: 2023-06-11 19:08 - 7.5K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
If the client requests `http://example.com/items/foo` (an `item_id` `"foo"`), that client will receive an HTTP status code of 200, and a JSON response of: ```JSON { "item": "The Foo Wrestlers" } ``` But if the client requests `http://example.com/items/bar` (a non-existent `item_id` `"bar"`), that client will receive an HTTP status code of 404 (the "not found" error), and a JSON response of: ```JSON {
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 9.1K bytes - Viewed (0) -
docs/en/docs/tutorial/query-param-models.md
``` //// If a client tries to send some **extra** data in the **query parameters**, they will receive an **error** response. For example, if the client tries to send a `tool` query parameter with a value of `plumbus`, like: ```http https://example.com/items/?limit=10&tool=plumbus ``` They will receive an **error** response telling them that the query parameter `tool` is not allowed: ```json {
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 3.8K bytes - Viewed (0) -
docs/en/docs/tutorial/header-param-models.md
```Python hl_lines="10" {!> ../../docs_src/header_param_models/tutorial002.py!} ``` //// If a client tries to send some **extra headers**, they will receive an **error** response. For example, if the client tries to send a `tool` header with a value of `plumbus`, they will receive an **error** response telling them that the header parameter `tool` is not allowed: ```json { "detail": [ {
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 3.5K bytes - Viewed (0) -
docs/en/docs/how-to/custom-request-and-route.md
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-27 22:39 - 4.3K bytes - Viewed (0) -
SECURITY.md
you need access credentials for a successful exploit). If you have not received a reply to your email within 48 hours or you have not heard from the security team for the past five days please contact the security team directly: - Primary security coordinator: ******@****.*** - Secondary coordinator: ******@****.*** - If you receive no response: ******@****.*** ### Disclosure Process MinIO uses the following disclosure process:
Registered: 2024-11-03 19:28 - Last Modified: 2022-02-12 00:51 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
``` //// If a client tries to send some extra data, they will receive an **error** response. For example, if the client tries to send the form fields: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` They will receive an error response telling them that the field `extra` is not allowed: ```json { "detail": [ {
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 2.8K bytes - Viewed (0) -
docs/en/docs/advanced/websockets.md
/// ## Await for messages and send messages In your WebSocket route you can `await` for messages and send messages. ```Python hl_lines="48-52" {!../../docs_src/websockets/tutorial001.py!} ``` You can receive and send binary, text, and JSON data. ## Try it If your file is named `main.py`, run your application with: <div class="termy"> ```console $ fastapi dev main.py
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 6.3K bytes - Viewed (0)