Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 796 for Curl (0.03 seconds)

  1. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
       * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but
       * may expand in the future.
       */
      fun initialize(applicationContext: Context) {
        if (PlatformRegistry.applicationContext == null) {
          // Make sure we aren't using an Activity or Service Context
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
            body = file.asRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
        client.newCall(request).execute().use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt

          OkHttpClient
            .Builder()
            .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
            .build()
        val call =
          client.newCall(
            Request
              .Builder()
              .url("https://www.google.ca/")
              .build(),
          )
        val response = call.execute()
        try {
          println(response.code)
          println("PROTOCOL ${response.protocol}")
          var line: String?
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/cbean/bs/BsClickLogCB.java

                doColumn("queryRequestedAt");
            }
    
            public void columnRequestedAt() {
                doColumn("requestedAt");
            }
    
            public void columnUrl() {
                doColumn("url");
            }
    
            public void columnUserSessionId() {
                doColumn("userSessionId");
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        ImmutableSet<String> uppercaseAcronyms =
            ImmutableSet.of(
                "CDN", "CH", "ID", "DNT", "DNS", "DPR", "ECT", "GPC", "HTTP2", "IP", "MD5", "P3P",
                "RTT", "TE", "UA", "UID", "URL", "WWW", "XSS");
    
        for (Field field : httpHeadersFields()) {
          assertThat(field.get(null))
              .isEqualTo(upperToHttpHeaderName(field.getName(), specialCases, uppercaseAcronyms));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/pathmap/admin_pathmap.jsp

                                        </div>
                                    </div>
                                    <c:set var="pager" value="${pathMapPager}" scope="request"/>
                                    <c:import url="/WEB-INF/view/common/admin/crud/pagination.jsp"/>
                                    <c:if test="${pager.currentPageNumber > pager.allPageCount}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

                assertFalse(confPath.isPresent());
            }
        }
    
        @Test
        public void test_getFesenHttpUrl() {
            String url = ResourceUtil.getFesenHttpUrl();
            assertNotNull(url);
            // Should return either system property or config value
            assertTrue(url.length() > 0);
        }
    
        @Test
        public void test_getConfPath() {
            Path confPath = ResourceUtil.getConfPath("test.conf");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

        }
    
        @Test
        public void test_convertPrefixQuery_withNotAnalyzedField() throws Exception {
            setNotAnalyzedFields("url", "site");
    
            QueryContext context = new QueryContext("test", false);
            PrefixQuery prefixQuery = new PrefixQuery(new Term("url", "http"));
    
            QueryBuilder builder = queryProcessor.execute(context, prefixQuery, 1.5f);
    
            assertNotNull(builder);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. build-logic-settings/settings.gradle.kts

                version("errorProne", "stub") // not used in this project
            }
        }
    }
    
    pluginManagement {
        repositories {
            maven {
                url = uri("https://repo.gradle.org/gradle/enterprise-libs-release-candidates")
                content {
                    val rcAndMilestonesPattern = "\\d{1,2}?\\.\\d{1,2}?(\\.\\d{1,2}?)?-((rc-\\d{1,2}?)|(milestone-\\d{1,2}?))"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:57 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/BouncyCastleTest.kt

      fun setUp() {
        OkHttpDebugLogging.enable("org.bouncycastle.jsse")
        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top