Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for robust (0.17 sec)

  1. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

      val clientBuilder =
        OkHttpClient.Builder().connectionSpecs(listOf(ConnectionSpec.CLEARTEXT)).dns {
          throw UnknownHostException("shortcircuit")
        }
    
      val request = Request("http://google.com/robots.txt".toHttpUrl())
    
      @Test
      fun testHttpLoggingInterceptor() {
        val interceptor =
          HttpLoggingInterceptor().apply {
            level = HttpLoggingInterceptor.Level.BASIC
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

          "https://www.allizom.org/robots.txt",
          "https://tls13.crypto.mozilla.org/",
          "https://tls.ctf.network/robots.txt",
          "https://rustls.jbp.io/",
          "https://h2o.examp1e.net",
          "https://mew.org/",
          "https://tls13.baishancloud.com/",
          "https://tls13.akamai.io/",
          "https://swifttls.org/",
          "https://www.googleapis.com/robots.txt",
          "https://graph.facebook.com/robots.txt",
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                httpClientPropertyMap.put(name, value);
            }
        }
    
        /**
         * Processes robots.txt for the given URL.
         * This method fetches and parses the robots.txt file to extract disallow/allow rules
         * and sitemap information.
         *
         * @param url The URL to process robots.txt for
         */
        protected void processRobotsTxt(final String url) {
            if (StringUtil.isBlank(url)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  4. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

        }
    
        OkHttpClient client = builder.build();
    
        sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt");
    
        try {
          sendRequest(client, "https://google.com/robots.txt");
          if (androidMorEarlier) {
            // will pass with default CAs on N or later
            fail();
          }
        } catch (SSLHandshakeException sslhe) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  5. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt

          .Builder()
          .addInterceptor(CompressionInterceptor(Zstd))
          .build()
    
      sendRequest("https://developers.facebook.com/docs/", client)
      sendRequest("https://www.facebook.com/robots.txt", client)
      sendRequest("https://www.instagram.com/robots.txt", client)
    }
    
    private fun sendRequest(
      url: String,
      client: OkHttpClient,
    ) {
      val req = Request.Builder().url(url).build()
    
      client.newCall(req).execute().use {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Jul 29 20:01:04 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    
      @Test
      @Disabled
      fun testGoogle() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://google.com/robots.txt").build()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Add URLs to default set
            urlSet.add("http://example.com/robots.txt");
            urlSet.add("http://test.com/robots.txt");
            assertEquals(2, crawlerContext.getRobotsTxtUrlSet().size());
    
            // Set new set
            Set<String> newSet = new HashSet<>();
            newSet.add("http://new.com/robots.txt");
            crawlerContext.setRobotsTxtUrlSet(newSet);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          client
            .newBuilder()
            .eventListener(EventListener.NONE)
            .dns(dohDns)
            .build()
    
        dohEnabledClient.get("https://www.twitter.com/robots.txt")
        dohEnabledClient.get("https://www.facebook.com/robots.txt")
      }
    
      @Test
      fun testCustomTrustManager() {
        assumeNetwork()
    
        val trustManager =
          object : X509TrustManager {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        /** XPath expression for extracting robots content from meta tags */
        private static final String META_NAME_ROBOTS_CONTENT = "//META[@name=\"robots\" or @name=\"ROBOTS\"]/@content";
    
        /** Robots tag value indicating no indexing or following */
        private static final String ROBOTS_TAG_NONE = "none";
    
        /** Robots tag value indicating no indexing */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  10. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

        engine.shutdown()
        cacheDir.deleteRecursively()
      }
    
      @Test
      fun get() {
        val executor = Executors.newCachedThreadPool()
    
        val completableFuture = execute(engine, executor, "https://google.com/robots.txt")
    
        try {
          val response = completableFuture.get(10, TimeUnit.SECONDS)
    
          assertEquals(200, response.code)
          assertEquals("h3", response.negotiatedProtocol)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top