- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 1,838 for RESPONSE (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
private fun assert200Http2Response( response: Response, expectedHost: String, ) { assertThat(response.code).isEqualTo(200) assertThat(response.request.url.host).isEqualTo(expectedHost) assertThat(response.protocol).isEqualTo(Protocol.HTTP_2) response.body.close() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
tests/test_openapi_query_parameter_extension.py
return {} client = TestClient(app) def test_get_route(): response = client.get("/") assert response.status_code == 200, response.text assert response.json() == {} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"},Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
import org.codelibs.fess.exception.StorageException; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; /** * Handles API requests for storage management in the Fess application. * Provides endpoints for listing, downloading, deleting, and uploading files. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
docs_src/dependencies/tutorial003_py39.py
self.limit = limit @app.get("/items/") async def read_items(commons=Depends(CommonQueryParams)): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit] response.update({"items": items})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 635 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSetInformationResponse.java
import jcifs.internal.smb1.ServerMessageBlock; /** * Response for SMB1 COM_SET_INFORMATION command. * * This response indicates the success or failure of setting file * attributes and last write time. * * @author mbechler */ public class SmbComSetInformationResponse extends ServerMessageBlock { /** * Constructs a set information response. * * @param config the configuration to use */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
import jcifs.internal.util.SMBUtil; /** * SMB2 Flush response message. * * This response confirms that buffered data has been * successfully flushed to the storage device. * * @author mbechler */ public class Smb2FlushResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 flush response * @param config the client configuration */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
docs_src/dependencies/tutorial003_an_py310.py
@app.get("/items/") async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit] response.update({"items": items})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 655 bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt
) fun headers(): Headers = headers @JvmName("-deprecated_response") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "response"), level = DeprecationLevel.ERROR, ) fun response(): MockResponse = response
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ConfigureTimeouts.java
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); } } public static void main(String... args) throws Exception { new ConfigureTimeouts().run(); }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Sep 28 18:00:26 UTC 2019 - 1.5K bytes - Viewed (0) -
tests/test_enforce_once_required_parameter.py
}, } def test_schema(): response = client.get("/openapi.json") assert response.status_code == status.HTTP_200_OK actual_schema = response.json() assert actual_schema == expected_schema def test_get_invalid(): response = client.get("/foo") assert response.status_code == 422 def test_get_valid(): response = client.get("/foo", params={"client_id": "bar"})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 16 17:21:48 UTC 2025 - 3.3K bytes - Viewed (0)