- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 766 for Body (0.03 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/Authenticate.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new Authenticate().run(); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 1.9K bytes - Click Count (0) -
fastapi/routing.py
# Read body and auto-close files try: body: Any = None if body_field: if is_body_form: body = await request.form() file_stack.push_async_callback(body.close) else: body_bytes = await request.body() if body_bytes:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
Call call = httpClient.newCall(request); try (Response response = call.execute()) { JsonAdapter<OAuthSession> jsonAdapter = moshi.adapter(OAuthSession.class); return jsonAdapter.fromJson(response.body().source()); } } /** See https://api.slack.com/methods/rtm.start. */ public RtmStartResponse rtmStart(String accessToken) throws IOException { HttpUrl url = baseUrl.newBuilder("rtm.start")
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
.build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PreemptiveAuth().run(); } static final class BasicAuthInterceptor implements Interceptor {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Nov 05 07:46:46 GMT 2018 - 2.1K bytes - Click Count (0) -
.github/workflows/update-test-buckets.yml
delete-branch: true title: 'Update test buckets' signoff: true sign-commits: true labels: | in:building-gradle @dev-productivity body: | This PR updates the test buckets based on the latest test class data.Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 09 22:14:16 GMT 2025 - 2.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
private val server = MockWebServer() @BeforeEach fun setUp() { platform.assumeOpenJSSE() } @Test fun testTlsv13Works() { enableTls() server.enqueue(MockResponse(body = "abc")) val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.7K bytes - Click Count (0) -
buildscripts/test-timeout.sh
"${PWD}/mc" stat minio/testbucket/testobject && exit -1 # quick header write and slow bodywrite send_put_object_request 0 40 && exit -1 "${PWD}/mc" stat minio/testbucket/testobject && exit -1 # quick header and body write send_put_object_request 1 1 || exit -1 "${PWD}/mc" stat minio/testbucket/testobject || exit -1 } function main() { export start_port=$(shuf -i 10000-65000 -n 1) export srv_hdr_timeout=5Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 2.9K bytes - Click Count (0) -
.github/workflows/release-branch-cherrypick.yml
base: ${{ github.event.inputs.release_branch }} branch: ${{ github.event.inputs.release_branch }}-${{ steps.cherrypick.outputs.SHORTSHA }} reviewers: learning-to-play body: |Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Dec 01 09:57:00 GMT 2025 - 3.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostForm.java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.4K bytes - Click Count (0) -
docs/uk/docs/tutorial/request-files.md
Імпортуйте `File` та `UploadFile` з `fastapi`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *} ## Визначення параметрів `File` Створіть параметри файлів так само як Ви б створювали `Body` або `Form`: {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *} /// info | Інформація `File` — це клас, який безпосередньо успадковує `Form`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 22 22:01:44 GMT 2025 - 11.2K bytes - Click Count (0)