- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,351 for Curl (0.02 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
super.setUp(); new StandardCrawlerContainer(); } public void test_protocol() throws Exception { URL url = new URL("storage:/home/foo"); assertEquals("storage", url.getProtocol()); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
return null; } /** * Encodes a URL by encoding non-URL-safe characters. * Uses the request's character encoding if available, otherwise defaults to UTF-8. * Only encodes characters that are not considered URL-safe according to CharUtil. * * @param url the URL to encode * @return the encoded URL with non-URL-safe characters properly encoded */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
* <origin><![CDATA[ * <distributionManagement> * <repository> * <id>some-repo</id> * <url>scp://host/path</url> * </repository> * <snapshotRepository> * <id>some-snap-repo</id> * <url>scp://host/snapshot-path</url> * </snapshotRepository> * </distributionManagement> * ]]></origin> * <usage><![CDATA[
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt
assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1) } } @Test fun testUrlConnectionDirect() { testRequest { val url = URI(mockServer.endpoint + "/person?name=peter").toURL() val connection = url.openConnection() as HttpURLConnection assertThat( connection.inputStream .source() .buffer() .readUtf8(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
.build() } @Test fun http2OneBadHostOneGoodNoRetryOnConnectionFailure() { enableProtocol(Protocol.HTTP_2) val request = Request(server1.url("/")) server1.enqueue(refusedStream) server2.enqueue(bodyResponse) dns[server1.hostName] = listOf(ipv6, ipv4) socketFactory[ipv6] = server1.socketAddress socketFactory[ipv4] = server2.socketAddress
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt
@Test fun testMockWebServer() { server.enqueue(MockResponse(body = "abc")) server.start() client.newCall(Request(url = server.url("/"))).execute().use { assertThat(it.body.string()).isEqualTo("abc") } } @Test fun testExternalSite() { client.newCall(Request(url = "https://google.com/robots.txt".toHttpUrl())).execute().use { assertThat(it.code).isEqualTo(200) } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.4K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
OkHttpClient client = new OkHttpClient(); sendRequest(client, "https://google.com/robots.txt"); } private void sendRequest(OkHttpClient client, String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { assertTrue(response.code() == 200 || response.code() == 404);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java
logger.info(String.format("Sending request %s on %s%n%s", request.url(), chain.connection(), request.headers())); Response response = chain.proceed(request); long t2 = System.nanoTime(); logger.info(String.format("Received response for %s in %.1fms%n%s", request.url(), (t2 - t1) / 1e6d, response.headers())); return response; } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jan 01 15:55:32 UTC 2016 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
*/ public SmbFile(final URL url, final CIFSContext tc) throws MalformedURLException { super(url); if (url.getPath() != null && !url.getPath().isEmpty() && url.getPath().charAt(0) != '/') { throw new MalformedURLException("Invalid SMB URL: " + url); } this.transportContext = tc; this.fileLocator = new SmbResourceLocatorImpl(tc, url);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
) private fun execute( engine: HttpEngine, executor: ExecutorService, url: String, ): CompletableFuture<Response> { val completableFuture = CompletableFuture<Response>() val buffer = Buffer() val req = engine .newUrlRequestBuilder( url, executor, object : Callback { override fun onRedirectReceived(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0)