Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,351 for Curl (0.04 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/ConfigureTimeouts.kt

          .readTimeout(5, TimeUnit.SECONDS)
          .callTimeout(10, TimeUnit.SECONDS)
          .build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
            .build()
    
        client.newCall(request).execute().use { response ->
          println("Response completed: $response")
        }
      }
    }
    
    fun main() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          MockResponse
            .Builder()
            .shutdownServer(true)
            .build(),
        )
        val url = server.url("/").toUrl()
        val connection = url.openConnection() as HttpURLConnection
        assertThat(connection.responseCode).isEqualTo(HttpURLConnection.HTTP_OK)
        val refusedConnection = url.openConnection() as HttpURLConnection
        assertFailsWith<ConnectException> {
          refusedConnection.responseCode
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testParseValidBindingUrls(String url, String expectedProto, String expectedServer, String expectedEndpoint)
                    throws DcerpcException {
                // When: Parsing the binding URL
                DcerpcBinding binding = DcerpcHandle.parseBinding(url);
    
                // Then: Should parse correctly
                assertNotNull(binding);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/resources/fess_label_it.properties

    labels.web_crawling_configuration=Scansione web
    labels.web_crawling_title_details=Configurazione scansione web
    labels.included_urls=URL da includere nella scansione
    labels.excluded_urls=URL da escludere dalla scansione
    labels.included_doc_urls=URL da includere nella ricerca
    labels.excluded_doc_urls=URL da escludere dalla ricerca
    labels.user_agent=User-Agent
    labels.web_crawling_button_create=Crea
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 43.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/sitemaps/sitemap1.xml

    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
       <url>
          <loc>http://www.example.com/</loc>
          <lastmod>2005-01-01</lastmod>
          <changefreq>monthly</changefreq>
          <priority>0.8</priority>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
          <changefreq>weekly</changefreq>
       </url>
       <url>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 915 bytes
    - Viewed (0)
  6. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

        val client = OkHttpClient()
    
        // Ensure we are compiling against the right variant
        println(AndroidPlatform.isSupported)
    
        val url = "https://github.com/square/okhttp".toHttpUrl()
        println(url.topPrivateDomain())
    
        client.newCall(Request(url)).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            private String id;
            private String url;
    
            public TestUrlQueue(String id, String url) {
                this.id = id;
                this.url = url;
            }
    
            @Override
            public String getId() {
                return id;
            }
    
            @Override
            public String getUrl() {
                return url;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/PathValidatorTest.java

            String url = "smb://user:pass@server/share";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.contains("user:pass@"));
        }
    
        @Test
        public void testSmbUrlWithPort() throws Exception {
            String url = "smb://server:445/share";
            String normalized = validator.validateSmbUrl(url);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.getCrawlerContext().setMaxAccessCount(maxCount);
                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	// Get request range.
    	rangeHeader := r.Header.Get(xhttp.Range)
    	if rangeHeader != "" {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrUnsupportedRangeHeader), r.URL)
    		return
    	}
    
    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
Back to top