Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 95 for toCurl (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          ),
        )
        assertContent("This is the 2nd server!", getResponse(newRequest("/a")))
        assertThat(proxySelectionRequests).isEqualTo(
          listOf(
            server.url("/").toUrl().toURI(),
            server2.url("/").toUrl().toURI(),
          ),
        )
      }
    
      @Test
      fun redirectWithAuthentication() {
        server2.enqueue(
          MockResponse(body = "Page 2"),
        )
        server.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 133.3K bytes
    - Click Count (0)
  2. docs/works_with_okhttp.md

     * [OkLog](https://github.com/simonpercic/OkLog): Response logging interceptor for OkHttp. Logs a URL link with URL-encoded response for every OkHttp call.
     * [Okurl](https://github.com/yschimke/okurl/wiki) A curl-like client for social networks and other APIs.
     * [PersistentCookieJar](https://github.com/franmontiel/PersistentCookieJar): A persistent `CookieJar`.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 26 07:59:38 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ValidateChangelogEntryTask.java

        }
    
        @TaskAction
        public void executeTask() {
            final URI rootDir = projectLayout.getProjectDirectory().getAsFile().toURI();
            final Map<String, ChangelogEntry> changelogs = this.changelogs.getFiles()
                .stream()
                .collect(Collectors.toMap(file -> rootDir.relativize(file.toURI()).toString(), ChangelogEntry::parse));
    
            // We don't try to find all such errors, because we expect them to be rare e.g. only
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 14:45:41 GMT 2021
    - 3.3K bytes
    - Click Count (0)
  4. futures/failureaccess/pom.xml

                <_fixupmessages>^Classes found in the wrong directory: .*</_fixupmessages>
                <Export-Package>com.google.common.util.concurrent.internal,!META-INF.*</Export-Package>
                <Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL>
              </instructions>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-javadoc-plugin</artifactId>
            <executions>
              <execution>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 19:27:26 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. android/guava/pom.xml

                  javax.crypto.*;resolution:=optional,
                  sun.misc.*;resolution:=optional
                </Import-Package>
                <Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL>
              </instructions>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <executions>
              <execution>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

        try {
          cookieHandler.put(url.toUri(), multimap)
        } catch (e: IOException) {
          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        cookieA.domain = serverUrl.host
        cookieA.path = "/"
        cookieManager.cookieStore.add(serverUrl.toUri(), cookieA)
        val cookieB = HttpCookie("b", "banana")
        cookieB.domain = serverUrl.host
        cookieB.path = "/"
        cookieManager.cookieStore.add(serverUrl.toUri(), cookieB)
        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

        dns.assertRequests(uriHost)
        proxySelector.assertRequests(address.url.toUri())
      }
    
      @Test fun proxySelectorReturnsMultipleProxies() {
        val address = factory.newAddress()
        proxySelector.proxies.add(proxyA)
        proxySelector.proxies.add(proxyB)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
        // First try the IP addresses of the first proxy, in sequence.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenPatternsTask.java

                    .boxed()
                    .collect(Collectors.toList());
    
                URI baseUri = getRootDir().orElse(projectLayout.getProjectDirectory().getAsFile()).get().toURI();
                String path = baseUri.relativize(f.toURI()).toString();
                failures.addAll(
                    invalidLines.stream()
                        .map(l -> new AbstractMap.SimpleEntry<>(l + 1, lines.get(l)))
                        .flatMap(
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

                }
    
                // convert to url to ensure forward slashes
                String[] testFileParts = file.toURI().toURL().getPath().split(REST_TEST_PREFIX);
                if (testFileParts.length != 2) {
                    throw new IllegalArgumentException("could not split " + file + " into expected parts");
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
Back to Top