- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,934 for Response_ (0.37 seconds)
-
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
httpClient.close() } @Test fun get() { val request = HttpGet("https://google.com/robots.txt") httpClient.execute(request).use { response -> assertEquals(200, response.code) // TODO enable ALPN later assertEquals(HttpVersion.HTTP_1_1, response.version) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Feb 07 06:56:34 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
import org.codelibs.fess.util.RenderDataUtil; import org.lastaflute.taglib.function.LaFunctions; import org.lastaflute.web.Execute; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.util.LaRequestUtil; import jakarta.annotation.Resource; import jakarta.servlet.http.HttpSession; /** * The action for search operations.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
val url = server .url("/") .newBuilder() .host("localhost.localdomain") .build() val call = client.newCall(Request(url = url)) val response = call.execute() assertThat(response.isSuccessful).isTrue() val recordedRequest = server.takeRequest() // https://github.com/bcgit/bc-java/issues/1773 if (!platform.isBouncyCastle()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6.3K bytes - Click Count (0) -
docs_src/app_testing/tutorial004_py310.py
# Inside the "with TestClient" block, the lifespan starts and items added assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}} response = client.get("/items/foo") assert response.status_code == 200 assert response.json() == {"name": "Fighters"} # After the requests is done, the items are still there assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0) -
docs_src/middleware/tutorial001_py310.py
@app.middleware("http") async def add_process_time_header(request: Request, call_next): start_time = time.perf_counter() response = await call_next(request) process_time = time.perf_counter() - start_time response.headers["X-Process-Time"] = str(process_time)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 365 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
import org.codelibs.fess.opensearch.client.SearchEngineClient; import org.codelibs.fess.thumbnail.ThumbnailManager; import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.opensearch.action.bulk.BulkResponse; import jakarta.annotation.Resource; /** * API action for admin document management.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.3K bytes - Click Count (0) -
cmd/api-response_test.go
} // Check that WriteHeader and Write were called on the underlying response writer resp := rw.Result() if resp.StatusCode != 123 { t.Fatalf("unexpected status: %v", resp.StatusCode) } body, err := io.ReadAll(resp.Body) if err != nil { t.Fatalf("reading response body failed: %v", err) } if string(body) != "hello" { t.Fatalf("response body incorrect: %v", string(body)) } // Check that Unwrap works
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
} final String sid = scrollId; response = getClient().get(c -> c.prepareSearchScroll(sid).setScroll(new TimeValue(scrollTimeout)).execute()); if (!scrollId.equals(response.getScrollId())) { getClient().clearScroll(scrollId); } scrollId = response.getScrollId(); } } finally {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.1K bytes - Click Count (0) -
docs_src/async_tests/app_a_py310/test_main.py
@pytest.mark.anyio async def test_root(): async with AsyncClient( transport=ASGITransport(app=app), base_url="http://test" ) as ac: response = await ac.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 360 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
* @return true if the operation was successful, false otherwise. */ public boolean deleteAllWords() { final SuggestDeleteResponse response = suggester.indexer().deleteAll(); if (response.hasError()) { logger.warn("Failed to delete all words.", response.getErrors().get(0)); return false; } refresh(); return true; } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0)