- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 92 for response_mode (0.95 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
if (HttpMethod.permitsRequestBody(method)) { val responseCode = userResponse.code val maintainBody = HttpMethod.redirectsWithBody(method) || responseCode == HTTP_PERM_REDIRECT || responseCode == HTTP_TEMP_REDIRECT if (HttpMethod.redirectsToGet(method) && responseCode != HTTP_PERM_REDIRECT && responseCode != HTTP_TEMP_REDIRECT) { requestBuilder.method("GET", null)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
docs/em/docs/advanced/additional-responses.md
โ๏ธ ๐ฅ ๐ โ๏ธ โ ๐ ๐จ ๐ โฎ๏ธ `None` ๐ฎ ๐ป ๐, FastAPI ๐ โ๏ธ `application/json` ๐ ๐ ๐จ ๐ โ๏ธ ๐จโ๐ผ ๐ท. /// ## ๐ โน ๐ ๐ช ๐ ๐จ โน โช๏ธโก๏ธ ๐ ๐ฅ, ๐ `response_model`, `status_code`, & `responses` ๐ข. ๐ ๐ช ๐ฃ `response_model`, โ๏ธ ๐ข ๐ ๐ `200` (โ๏ธ ๐ 1๏ธโฃ ๐ฅ ๐ ๐ช), & โคด๏ธ ๐ฃ ๐ โน ๐ ๐ ๐จ `responses`, ๐ ๐ ๐. **FastAPI** ๐ ๐ง ๐ โน โช๏ธโก๏ธ `responses`, & ๐ โซ๏ธ โฎ๏ธ ๐ป ๐ โช๏ธโก๏ธ ๐ ๐ท.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
buf.readShort() // query id val flags = buf.readShort().toInt() and 0xffff require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
/// ## Combinaison d'informations Vous pouvez รฉgalement combiner des informations de rรฉponse provenant de plusieurs endroits, y compris les paramรจtres `response_model`, `status_code` et `responses`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/de/docs/advanced/response-headers.md
Und wenn Sie ein `response_model` deklariert haben, wird es weiterhin zum Filtern und Konvertieren des von Ihnen zurรผckgegebenen Objekts verwendet. **FastAPI** verwendet diese *vorรผbergehende* Response, um die Header (auch Cookies und Statuscode) zu extrahieren und fรผgt diese in die endgรผltige Response ein, die den von Ihnen zurรผckgegebenen Wert enthรคlt, gefiltert nach einem beliebigen `response_model`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.6K bytes - Viewed (2) -
docs/pt/docs/tutorial/sql-databases.md
Em seguida, retornamos o mesmo *modelo de tabela* `Hero` como estรก na funรงรฃo. Mas como declaramos o `response_model` com o *modelo de dados* `HeroPublic`, o **FastAPI** usarรก `HeroPublic` para validar e serializar os dados. {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[56:62] hl[56:58] *} /// tip | Dica
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Oct 27 15:25:29 UTC 2024 - 15.8K bytes - Viewed (0) -
docs/en/docs/advanced/response-headers.md
And if you declared a `response_model`, it will still be used to filter and convert the object you returned. **FastAPI** will use that *temporal* response to extract the headers (also cookies and status code), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
new ByteArrayInputStream(new byte[0])); // Act - Trigger handshake int responseCode = ntlmConnection.getResponseCode(); // Assert - Verify we got the 401 response (simplified test) assertEquals(HTTP_UNAUTHORIZED, responseCode); // In a real scenario, the connection would reconnect and send Type1/Type3 messages
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
val url = server.url("/").toUrl() val connection = url.openConnection() as HttpURLConnection assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK) val refusedConnection = url.openConnection() as HttpURLConnection assertFailsWith<ConnectException> { refusedConnection.responseCode }.also { expected -> assertThat(expected.message!!).contains("refused") } } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Aug 03 22:38:00 UTC 2025 - 28K bytes - Viewed (0) -
docs/ko/docs/advanced/response-headers.md
{* ../../docs_src/response_headers/tutorial002.py hl[1,7:8] *} ๊ทธ ํ, ์ผ๋ฐ์ ์ผ๋ก ์ฌ์ฉํ๋ฏ์ด ํ์ํ ๊ฐ์ฒด(`dict`, ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ชจ๋ธ ๋ฑ)๋ฅผ ๋ฐํํ ์ ์์ต๋๋ค. `response_model`์ ์ ์ธํ ๊ฒฝ์ฐ, ๋ฐํํ ๊ฐ์ฒด๋ฅผ ํํฐ๋งํ๊ณ ๋ณํํ๋ ๋ฐ ์ฌ์ ํ ์ฌ์ฉ๋ฉ๋๋ค. **FastAPI**๋ ํด๋น *์์* ์๋ต์์ ํค๋(์ฟ ํค์ ์ํ ์ฝ๋๋ ํฌํจ)๋ฅผ ์ถ์ถํ์ฌ, ์ฌ๋ฌ๋ถ์ด ๋ฐํํ ๊ฐ์ ํฌํจํ๋ ์ต์ข ์๋ต์ `response_model`๋ก ํํฐ๋ง๋ ๊ฐ์ ๋ฃ์ต๋๋ค. ๋ํ, ์ข ์์ฑ์์ `Response` ๋งค๊ฐ๋ณ์๋ฅผ ์ ์ธํ๊ณ ๊ทธ ์์์ ํค๋(๋ฐ ์ฟ ํค)๋ฅผ ์ค์ ํ ์ ์์ต๋๋ค. ## `Response` ์ง์ ๋ฐํํ๊ธฐ `Response`๋ฅผ ์ง์ ๋ฐํํ ๋์๋ ํค๋๋ฅผ ์ถ๊ฐํ ์ ์์ต๋๋ค.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.5K bytes - Viewed (0)