Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,428 for Curl (0.03 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

        assertThat(takeResponseCookies().map(Cookie::toString)).containsExactly(*cookies)
      }
    
      override fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      ) {
        responseCookies.add(cookies)
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        return if (requestCookies.isEmpty()) emptyList() else requestCookies.removeFirst()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/impl/UnsupportedSlf4jBindingConfiguration.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli.logging.impl;
    
    import java.net.URL;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.maven.cli.logging.BaseSlf4jConfiguration;
    
    /**
     * Pseudo-configuration for unsupported SLF4J binding.
     *
     * @since 3.2.4
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. cmd/storage-rest_test.go

    	// tg[0] = local, tg[1] = remote
    
    	// Remote URL
    	url, err := xnet.ParseHTTPURL(tg.Servers[1].URL)
    	if err != nil {
    		t.Fatalf("unexpected error %v", err)
    	}
    	url.Path = t.TempDir()
    
    	globalMinioHost, globalMinioPort = mustSplitHostPort(url.Host)
    	globalNodeAuthToken, _ = authenticateNode(globalActiveCred.AccessKey, globalActiveCred.SecretKey)
    
    	endpoint, err := NewEndpoint(url.String())
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            },
            {
                "url": "https://stag.example.com",
                "description": "Staging environment"
            },
            {
                "url": "https://prod.example.com",
                "description": "Production environment"
            }
        ],
        "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        processResponse(response, listener)
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

        val fbRequest =
          Request.Builder()
            .url("https://graph.facebook.com/robots.txt?s=fb")
            .build()
        val twitterRequest =
          Request.Builder()
            .url("https://api.twitter.com/robots.txt?s=tw")
            .build()
        val googleRequest =
          Request.Builder()
            .url("https://www.google.com/robots.txt?s=g")
            .build()
    
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                    "id", "string://url", new ArtifactRepositoryLayoutStub(), null, null);
        }
    
        /**
         * Build an ArtifactRepository object.
         *
         * @param id
         * @param url
         * @return
         */
        private ArtifactRepository getRepo(String id, String url) {
            return artifactRepositoryFactory.createArtifactRepository(id, url, new DefaultRepositoryLayout(), null, null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    Por exemplo, no modelo `Image` nós temos um campo `url`, nós podemos declara-lo como um `HttpUrl` do Pydantic invés de como uma `str`:
    
    ```Python hl_lines="4  10"
    {!../../docs_src/body_nested_models/tutorial005.py!}
    ```
    
    A string será verificada para se tornar uma URL válida e documentada no esquema JSON/1OpenAPI como tal.
    
    ## Atributos como listas de submodelos
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

            "servers": [
                {"url": "/api/v1"},
                {
                    "url": IsOneOf(
                        "https://stag.example.com/",
                        # TODO: remove when deprecating Pydantic v1
                        "https://stag.example.com",
                    ),
                    "description": "Staging environment",
                },
                {
                    "url": IsOneOf(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      override fun isCanceled(): Boolean = false
    
      override fun candidateConnection(): RealConnection? = null
    
      override fun proxySelectStart(url: HttpUrl) {
      }
    
      override fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
      }
    
      override fun dnsStart(socketHost: String) {
      }
    
      override fun dnsEnd(
        socketHost: String,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top