Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1341 - 1350 of over 10,000 for http2 (0.03 seconds)

  1. module-tests/src/test/java/okhttp3/modules/test/JavaModuleTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class JavaModuleTest {
      @Test
      public void testVisibility() {
        // Just check we can run code that depends on OkHttp types
        OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
      }
    
      @Test
      public void testMockWebServer() throws IOException {
        MockWebServer server = new MockWebServer();
        server.enqueue(new MockResponse(200, Headers.of(), "Hello, Java9!"));
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java

              int x = n / i;
              if (x * i == n) return factor(x) + " × " + i;
            }
            return Integer.toString(n);
          }
        };
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(requestBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/WagonManager.java

    import org.apache.maven.wagon.TransferFailedException;
    import org.apache.maven.wagon.authentication.AuthenticationInfo;
    import org.apache.maven.wagon.proxy.ProxyInfo;
    
    /**
     * Manages <a href="https://maven.apache.org/wagon">Wagon</a> related operations in Maven.
     *
     */
    @Deprecated
    public interface WagonManager extends org.apache.maven.repository.legacy.WagonManager {
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  4. docs/site-replication/run-multi-site-oidc.sh

    site3_pid=$!
    
    if [ ! -f ./mc ]; then
    	wget -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    export MC_HOST_minio1=http://minio:minio123@localhost:9001
    export MC_HOST_minio2=http://minio:minio123@localhost:9002
    export MC_HOST_minio3=http://minio:minio123@localhost:9003
    
    ./mc ready minio1
    ./mc ready minio2
    ./mc ready minio3
    
    ./mc admin replicate add minio1 minio2 minio3
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response
            .Builder()
            .request(
              Request
                .Builder()
                .url("https://example.com/")
                .build(),
            ).protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
        assertThat(response.body.contentType()).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/response-headers.md

    由於 `Response` 常用來設定標頭與 Cookie,FastAPI 也在 `fastapi.Response` 提供了它。
    
    ///
    
    ## 自訂標頭 { #custom-headers }
    
    請記住,專有的自訂標頭可以[使用 `X-` 前綴](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers)來新增。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
            .addHeader("Accept", "application/json; q=0.5")
            .addHeader("Accept", "application/vnd.github.v3+json")
    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)
  8. helm/minio/templates/_helper_custom_command.txt

      return 0
    }
    
    # runCommand ($@)
    # Run custom mc command
    runCommand() {
      ${MC} "$@"
      return $?
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.customCommands }}
    # Run custom commands
    {{- range .Values.customCommands }}
    runCommand {{ .command }}
    {{- end }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  9. docs/ko/docs/how-to/extending-openapi.md

    ### 메서드 오버라이드하기 { #override-the-method }
    
    이제 `.openapi()` 메서드를 새 함수로 교체할 수 있습니다.
    
    {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[29] *}
    
    ### 확인하기 { #check-it }
    
    [http://127.0.0.1:8000/redoc](http://127.0.0.1:8000/redoc)로 이동하면 커스텀 로고(이 예시에서는 **FastAPI** 로고)를 사용하는 것을 확인할 수 있습니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.6.md

    * Fix for Nodes in vSphere lacking an InternalIP. ([#48760](https://github.com/kubernetes/kubernetes/pull/48760)) ([#49202](https://github.com/kubernetes/kubernetes/pull/49202), [@cbonte](https://github.com/cbonte))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 304K bytes
    - Click Count (0)
Back to Top