Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 82 for IETF (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * a graceful shutdown was already underway or if the web socket is already closed or canceled.
       *
       * @param code Status code as defined by
       *     [Section 7.4 of RFC 6455](http://tools.ietf.org/html/rfc6455#section-7.4).
       * @param reason Reason for shutting down, no longer than 123 bytes of UTF-8 encoded data (**not** characters) or null.
       * @throws IllegalArgumentException if [code] is invalid or [reason] is too long.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

      val platform = PlatformRule()
    
      @JvmField @RegisterExtension
      val clientTestRule =
        OkHttpClientTestRule().apply {
          recordFrames = true
          // recordSslDebug = true
        }
    
      // https://tools.ietf.org/html/rfc6066#page-6 specifies a FQDN is required.
      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. docs/ftp/README.md

    | rename              | no        |
    
    MinIO supports following FTP/SFTP based protocols to access and manage data.
    
    - Secure File Transfer Protocol (SFTP) – Defined by the Internet Engineering Task Force (IETF) as an
      extended version of SSH 2.0, allowing file transfer over SSH and for use with Transport Layer
      Security (TLS) and VPN applications.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

     * on what responses can be stored, and which requests can be satisfied by those stored responses.
     *
     * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2).
     */
    class CacheControl internal constructor(
      /**
       * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/websockets.md

    ```Python hl_lines="66-77  76-91"
    {!../../../docs_src/websockets/tutorial002.py!}
    ```
    
    !!! info
        👉 *️⃣ ⚫️ 🚫 🤙 ⚒ 🔑 🤚 `HTTPException`, ↩️ 👥 🤚 `WebSocketException`.
    
        👆 💪 ⚙️ 📪 📟 ⚪️➡️ <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1" class="external-link" target="_blank">☑ 📟 🔬 🔧</a>.
    
    ### 🔄 *️⃣ ⏮️ 🔗
    
    🚥 👆 📁 📛 `main.py`, 🏃 👆 🈸 ⏮️:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(HashCode.fromBytes(mac.doFinal()), hashFunc.hashBytes(input));
        assertEquals(HashCode.fromBytes(mac.doFinal(input)), hashFunc.hashBytes(input));
      }
    
      // Tests from RFC2022: https://tools.ietf.org/html/rfc2202
    
      public void testRfc2202_hmacSha1_case1() {
        byte[] key = fillByteArray(20, 0x0b);
        String data = "Hi There";
    
        checkSha1("b617318655057264e28bc0b6fb378c8ef146be00", key, data);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      }
    
      private fun retryAfter(
        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
        return Integer.MAX_VALUE
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  8. docs/en/docs/advanced/websockets.md

        ```
    
    !!! info
        As this is a WebSocket it doesn't really make sense to raise an `HTTPException`, instead we raise a `WebSocketException`.
    
        You can use a closing code from the <a href="https://tools.ietf.org/html/rfc6455#section-7.4.1" class="external-link" target="_blank">valid codes defined in the specification</a>.
    
    ### Try the WebSockets with dependencies
    
    If your file is named `main.py`, run your application with:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/websockets.md

        {!> ../../../docs_src/websockets/tutorial002.py!}
        ```
    
    !!! info
        由于这是一个 WebSocket,抛出 `HTTPException` 并不是很合理,而是抛出 `WebSocketException`。
    
        您可以使用<a href="https://tools.ietf.org/html/rfc6455#section-7.4.1" class="external-link" target="_blank">规范中定义的有效代码</a>。
    
    ### 尝试带有依赖项的 WebSockets
    
    如果您的文件名为 `main.py`,请使用以下命令运行应用程序:
    
    ```console
    $ uvicorn main:app --reload
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *
     * [charles]: http://charlesproxy.com
     * [fiddler]: http://fiddlertool.com
     * [langley]: http://goo.gl/AIx3e5
     * [owasp]: https://www.owasp.org/index.php/Certificate_and_Public_Key_Pinning
     * [rfc_7469]: http://tools.ietf.org/html/rfc7469
     * [static_certificates]: http://goo.gl/XDh6je
     */
    @Suppress("NAME_SHADOWING")
    class CertificatePinner internal constructor(
      val pins: Set<Pin>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
Back to top