- Sort Score
- Result 10 results
- Languages All
Results 521 - 530 of 1,019 for curl (0.02 sec)
-
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
.callTimeout(10, TimeUnit.SECONDS) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay. .build(); try (Response response = client.newCall(request).execute()) { System.out.println("Response completed: " + response); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0) -
maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java
private final OkHttpClient client; public SampleHttpClient() { client = new OkHttpClient.Builder().build(); } public void makeCall(HttpUrl url) throws IOException { try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) { System.out.println(response.body().string()); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
@JvmField val request: Request, val response: Response?, val webSocket: WebSocket?, val body: String?, val failure: IOException?, ) { fun assertRequestUrl(url: HttpUrl) = apply { assertThat(request.url).isEqualTo(url) } fun assertRequestMethod(method: String) = apply { assertThat(request.method).isEqualTo(method) } fun assertRequestHeader( name: String,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
``` ### Template `url_for` Arguments { #template-url-for-arguments } You can also use `url_for()` inside of the template, it takes as arguments the same arguments that would be used by your *path operation function*. So, the section with: {% raw %} ```jinja <a href="{{ url_for('read_item', id=id) }}"> ``` {% endraw %}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.5K bytes - Viewed (0) -
src/archive/tar/common.go
return false } var pre sparseEntry for _, cur := range sp { switch { case cur.Offset < 0 || cur.Length < 0: return false // Negative values are never okay case cur.Offset > math.MaxInt64-cur.Length: return false // Integer overflow with large length case cur.endOffset() > size: return false // Region extends beyond the actual size case pre.endOffset() > cur.Offset:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 13 21:03:27 UTC 2024 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.8K bytes - Viewed (0) -
docs/es/docs/advanced/openapi-callbacks.md
Esta parte es bastante normal, probablemente ya estés familiarizado con la mayor parte del código: {* ../../docs_src/openapi_callbacks/tutorial001.py hl[9:13,36:53] *} /// tip | Consejo El parámetro de query `callback_url` utiliza un tipo <a href="https://docs.pydantic.dev/latest/api/networks/" class="external-link" target="_blank">Url</a> de Pydantic. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
*/ public val target: String, /** A string like `HTTP/1.1` or `HTTP/2`. */ public val version: String, /** The request URL built using the request line, headers, and local host name. */ public val url: HttpUrl, /** All headers. */ public val headers: Headers, /** The body of this request, or null if it has none. This may be truncated. */ public val body: ByteString?,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/FailureUrl.java
return "FailureUrl [configId=" + configId + ", errorCount=" + errorCount + ", errorLog=" + errorLog + ", errorName=" + errorName + ", lastAccessTime=" + lastAccessTime + ", threadName=" + threadName + ", url=" + url + ", docMeta=" + docMeta + "]"; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1.5K bytes - Viewed (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
called.set(true) rule.server .url("/") .toUrl() .openConnection() .connect() } }, Description.EMPTY, ) statement.evaluate() assertThat(called.get()).isTrue() try { rule.server .url("/") .toUrl() .openConnection() .connect() fail()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0)