Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 934 for scheme (0.04 seconds)

  1. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          "GET /a/deep/path?key=foo%20bar HTTP/1.1",
        )
        assertThat(request.path).isEqualTo("/a/deep/path?key=foo%20bar")
        val requestUrl = request.requestUrl
        assertThat(requestUrl!!.scheme).isEqualTo("http")
        assertThat(requestUrl.host).isEqualTo(server.hostName)
        assertThat(requestUrl.port).isEqualTo(server.port)
        assertThat(requestUrl.encodedPath).isEqualTo("/a/deep/path")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
     * **Dispatcher**: executorService
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    /** Returns true if an HTTP request for this URL and [other] can reuse a connection. */
    internal fun HttpUrl.canReuseConnectionFor(other: HttpUrl): Boolean =
      host == other.host &&
        port == other.port &&
        scheme == other.scheme
    
    internal fun EventListener.asFactory() = EventListener.Factory { this }
    
    /**
     * Reads until this is exhausted or the deadline has been reached. This is careful to not extend the
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  4. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

            }
          }
        }.buffer()
    
      val localAddress: InetAddress
        get() = javaNetSocket.localAddress
    
      val localPort: Int
        get() = javaNetSocket.localPort
    
      val scheme: String
        get() =
          when (javaNetSocket) {
            is SSLSocket -> "https"
            else -> "http"
          }
    
      val handshake: Handshake?
        get() = (javaNetSocket as? SSLSocket)?.session?.handshake()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    ///
    
    ## OAuth2 scopes 與 OpenAPI { #oauth2-scopes-and-openapi }
    
    OAuth2 規格將「scopes」定義為以空白分隔的一串字串列表。
    
    每個字串的內容可以有任意格式,但不應包含空白。
    
    這些 scopes 代表「權限」。
    
    在 OpenAPI(例如 API 文件)中,你可以定義「security schemes」。
    
    當某個 security scheme 使用 OAuth2 時,你也可以宣告並使用 scopes。
    
    每個「scope」就是一個(不含空白的)字串。
    
    它們通常用來宣告特定的安全性權限,例如:
    
    - `users:read` 或 `users:write` 是常見的例子。
    - `instagram_basic` 是 Facebook / Instagram 使用的。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     *   // If this is preemptive auth, use a preemptive credential.
     *   if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
     *     return response.request().newBuilder()
     *         .header("Proxy-Authorization", "secret")
     *         .build();
     *   }
     * }
     * return null; // Didn't find a preemptive auth scheme.
     * ```
     *
     * ## Reactive Authentication
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
    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)
  8. fastapi/openapi/utils.py

    }
    
    
    def get_openapi_security_definitions(
        flat_dependant: Dependant,
    ) -> tuple[dict[str, Any], list[dict[str, Any]]]:
        security_definitions = {}
        # Use a dict to merge scopes for same security scheme
        operation_security_dict: dict[str, list[str]] = {}
        for security_dependency in flat_dependant._security_dependencies:
            security_definition = jsonable_encoder(
                security_dependency._security_scheme.model,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/testing/CollectorTester.java

          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
      private void doExpectCollects(R expectedResult, List<T> inputs) {
        for (CollectStrategy scheme : CollectStrategy.values()) {
          A finalAccum = scheme.result(collector, inputs);
          if (collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH)) {
            @SuppressWarnings("unchecked") // `R` and `A` match for an `IDENTITY_FINISH`
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                return entity;
            });
        }
    
        /**
         * Registers available protocol scheme items for web authentication forms.
         * Includes Basic, Digest, NTLM, and Form authentication schemes.
         *
         * @param data the render data to register the protocol scheme items with
         */
        protected void registerProtocolSchemeItems(final RenderData data) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top