- Sort Score
- Num 10 results
- Language All
Results 791 - 800 of 1,838 for RESPONSE (0.06 seconds)
-
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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2K bytes - Click Count (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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
response.status = SMBUtil.readInt4(data, idx); idx += 4; response.maxReadWriteSize = SMBUtil.readInt4(data, idx); idx += 4; response.preferredSendSize = SMBUtil.readInt4(data, idx); idx += 4; response.maxReceiveSize = SMBUtil.readInt4(data, idx); idx += 4; response.maxFragmentedSize = SMBUtil.readInt4(data, idx); idx += 4; return response; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K bytes - Click Count (0) -
docs_src/response_model/tutorial003_05_py310.py
from fastapi import FastAPI, Response from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/portal", response_model=None) async def get_portal(teleport: bool = False) -> Response | dict: if teleport: return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jan 10 16:22:47 GMT 2023 - 373 bytes - Click Count (0) -
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() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K bytes - Click Count (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
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.7K bytes - Click Count (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(); }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Sep 28 18:00:26 GMT 2019 - 1.5K bytes - Click Count (0) -
tests/test_tutorial/test_background_tasks/test_tutorial001.py
client = TestClient(app) def test(): log = Path("log.txt") if log.is_file(): os.remove(log) # pragma: no cover response = client.post("/send-notification/******@****.***") assert response.status_code == 200, response.text assert response.json() == {"message": "Notification sent in the background"} with open("./log.txt") as f:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 583 bytes - Click Count (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"},Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.2K 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: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 22.3K bytes - Click Count (0)