- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,302 for headers (0.04 sec)
-
docs/en/docs/advanced/response-change-status-code.md
For those cases, you can use a `Response` parameter. ## 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 headers). And then you can set the `status_code` in that *temporal* response object. {* ../../docs_src/response_change_status_code/tutorial001_py39.py hl[1,9,12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.5K bytes - Viewed (0) -
.github/workflows/mint/nginx-1-node.conf
ip_hash; server minio1:9001; } server { listen 9000; listen [::]:9000; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0;Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Mar 31 21:38:10 UTC 2023 - 2.8K bytes - Viewed (1) -
docs/ru/docs/tutorial/header-param-models.md
# Модели Header-параметров { #header-parameter-models } Если у вас есть группа связанных **header-параметров**, то вы можете объединить их в одну **Pydantic-модель**. Это позволит вам **переиспользовать модель** в **разных местах**, а также задать валидацию и метаданные сразу для всех параметров. 😎 /// note | Заметка Этот функционал доступен в FastAPI начиная с версии `0.115.0`. 🤓 ///Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/pt/docs/advanced/response-change-status-code.md
## Use um parâmetro `Response` { #use-a-response-parameter } Você pode declarar um parâmetro do tipo `Response` em sua *função de operação de rota* (assim como você pode fazer para cookies e headers). E então você pode definir o `status_code` neste objeto de retorno temporal. {* ../../docs_src/response_change_status_code/tutorial001_py39.py hl[1,9,12] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/resiliency/nginx.conf
server minio3:9001; server minio4:9001; } server { listen 9000; listen [::]:9000; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0;Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Dec 21 04:24:45 UTC 2024 - 3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
.url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) { Headers responseHeaders = response.headers(); for (int i = 0; i < responseHeaders.size(); i++) { System.out.println(responseHeaders.name(i) + ": " + responseHeaders.value(i)); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 9.3K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial002.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_responses.{request.param}") client = TestClient(mod.app) client.headers.clear() return client def test_path_operation(client: TestClient): response = client.get("/items/foo") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.7K bytes - Viewed (0) -
.github/workflows/mint/nginx-4-node.conf
server minio3:9001; server minio4:9001; } server { listen 9000; listen [::]:9000; server_name localhost; # To allow special characters in headers ignore_invalid_headers off; # Allow any size file to be uploaded. # Set to a value such as 1000m; to restrict file size to a specific value client_max_body_size 0;Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
} dataStream.receiveData(source, length) if (inFinished) { dataStream.receiveHeaders(Headers.EMPTY, true) } } override fun headers( inFinished: Boolean, streamId: Int, associatedStreamId: Int, headerBlock: List<Header>, ) { if (pushedStream(streamId)) { pushHeadersLater(streamId, headerBlock, inFinished) returnRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial004.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_responses.{request.param}") client = TestClient(mod.app) client.headers.clear() return client def test_path_operation(client: TestClient): response = client.get("/items/foo") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.9K bytes - Viewed (0)