- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,838 for RESPONSE (0.04 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/ParseResponseWithMoshi.kt
.Builder() .url("https://api.github.com/gists/c2a7c39532239ff261be") .build() client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") val gist = gistJsonAdapter.fromJson(response.body!!.source()) for ((key, value) in gist!!.files!!) { println(key) println(value.content) } } }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, maxOffset); long testTime = 1000000000L; setFieldValue(response, "lastWriteTime", testTime); assertEquals(testTime + maxOffset, response.getCreateTime()); assertEquals(testTime + maxOffset, response.getLastWriteTime()); assertEquals(testTime + maxOffset, response.getLastAccessTime()); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
fun testOkHttpDirect() { testRequest { val client = OkHttpClient() val response = client .newCall( Request((mockServer.endpoint + "/person?name=peter").toHttpUrl()), ).execute() assertThat(response.body.string()).contains("Peter the person") assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testOkHttpProxied() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.2K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java
list.setTook(response.getTook().getMillis()); list.setTotalShards(response.getTotalShards()); list.setSuccessfulShards(response.getSuccessfulShards()); list.setFailedShards(response.getFailedShards()); list.setTotalHits(searchHits.getTotalHits()); list.setAggregation(response.getAggregations()); // #pending othersCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
internal/grid/muxclient.go
} m.addResponse(Response{Err: ErrIncorrectSequence}) return false } m.RecvSeq++ return true } // response will send handleIncoming response to client. // may never block. // Should return whether the next call would block. func (m *muxClient) response(seq uint32, r Response) { if debugReqs { fmt.Println(m.MuxID, m.parent.String(), "RESP") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
doNothing().when(transport).connect(); // Setup response for tree connect doAnswer(invocation -> { ServerMessageBlock request = invocation.getArgument(0); ServerMessageBlock response = invocation.getArgument(1); if (request instanceof SmbComTreeConnectAndX && response instanceof SmbComTreeConnectAndXResponse) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
return client def test_post_user(client: TestClient): response = client.post( "/user/", json={ "username": "foo", "password": "fighter", "email": "******@****.***", "full_name": "Grave Dohl", }, ) assert response.status_code == 200, response.text assert response.json() == { "username": "foo", "email": "******@****.***",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.9K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public fun header (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Response$Builder; public fun headers (Lokhttp3/Headers;)Lokhttp3/Response$Builder; public fun message (Ljava/lang/String;)Lokhttp3/Response$Builder; public fun networkResponse (Lokhttp3/Response;)Lokhttp3/Response$Builder; public fun priorResponse (Lokhttp3/Response;)Lokhttp3/Response$Builder; public fun protocol (Lokhttp3/Protocol;)Lokhttp3/Response$Builder;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
} else { append("HTTP/1.1") } append(' ').append(code) append(' ').append(message) } companion object { fun get(response: Response): StatusLine = StatusLine(response.protocol, response.code, response.message) @Throws(IOException::class) fun parse(statusLine: String): StatusLine { // H T T P / 1 . 1 2 0 0 T e m p o r a r y R e d i r e c tCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0)