- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 2,191 for REQUEST (0.04 sec)
-
maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java
import okhttp3.HttpUrl; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class SampleHttpClient { 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()) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
Logging Interceptor =================== An [OkHttp interceptor][interceptors] which logs HTTP request and response data. ```java HttpLoggingInterceptor logging = new HttpLoggingInterceptor(); logging.setLevel(Level.BASIC); OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(logging) .build(); ``` You can change the log level at any time by calling `setLevel()`.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
@pytest.fixture( name="mod", params=[ pytest.param("tutorial008c_py39"), pytest.param("tutorial008c_an_py39"), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") return mod def test_get_no_item(mod: ModuleType): client = TestClient(mod.app) response = client.get("/items/foo")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
internal/dsync/lock-args.go
Quorum *int `msgp:"omitempty"` } // ResponseCode is the response code for a locking request. type ResponseCode uint8 // Response codes for a locking request. const ( RespOK ResponseCode = iota RespLockConflict RespLockNotInitialized RespLockNotFound RespErr ) // LockResp is a locking request response. type LockResp struct { Code ResponseCode Err string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComClose.java
import jcifs.Configuration; import jcifs.internal.Request; import jcifs.internal.smb1.SMB1SigningDigest; import jcifs.internal.smb1.ServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Close file request message. * * This command is used to close a file that was previously opened * with an Open command. */ public class SmbComClose extends ServerMessageBlock implements Request<SmbComBlankResponse> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/server_test.go
// execute the HTTP request for object upload. response, err = s.client.Do(request) c.Assert(err, nil) c.Assert(response.StatusCode, http.StatusOK) objectName2 := "testObject2" // Unlike the actual PUT object request, the request to Copy Object doesn't contain request body, // empty body with the "X-Amz-Copy-Source" header pointing to the object to copies it in the backend.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
} request = new Smb2QueryDirectoryRequest(mockConfig, fileId); assertNotNull(request); assertEquals(14, request.getCommand()); verify(mockConfig).getMaximumBufferSize(); verify(mockConfig).getListSize(); } @Test @DisplayName("Test setFileId method") void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
// If request failed and we added advanced features, retry with a basic request if ((leasesAdded || persistentHandlesAdded) && shouldRetryWithBasicRequest(e)) { if (log.isDebugEnabled()) { log.debug("CREATE request with advanced features failed ({}), retrying with basic request",Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
} request.setToolchains(groupedToolchains); } return request; } @Override public MavenExecutionRequest populateDefaults(MavenExecutionRequest request) throws MavenExecutionRequestPopulationException { baseDirectory(request); localRepository(request); populateDefaultPluginGroups(request); return request; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmSsp.java
} /** * Calls the static {@link #authenticate(HttpServletRequest, * HttpServletResponse, byte[])} method to perform NTLM authentication * for the specified servlet request. * * @param req The request being serviced. * @param resp The response. * @param challenge The domain controller challenge. * @throws IOException If an IO error occurs.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0)