Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,149 for LIBRARY (0.04 seconds)

  1. docs/zh/docs/advanced/security/http-basic-auth.md

    <img src="/img/tutorial/security/image12.png">
    
    ## 检查用户名 { #check-the-username }
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 [`secrets`](https://docs.python.org/3/library/secrets.html) 检查用户名与密码。
    
    `secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。
    
    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  2. benchmarks/README.md

    ```
    
    If you are on mac this'll warn you that you downloaded the shared library from
    the internet. You'll need to go to settings and allow it to run.
    
    The profiler tells you it'll be more accurate if you install debug symbols
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon May 03 15:30:50 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    <img src="/img/tutorial/security/image12.png">
    
    ## 檢查使用者名稱 { #check-the-username }
    
    以下是一個更完整的範例。
    
    使用一個依賴來檢查使用者名稱與密碼是否正確。
    
    為此,使用 Python 標準模組 [`secrets`](https://docs.python.org/3/library/secrets.html) 來比對使用者名稱與密碼。
    
    `secrets.compare_digest()` 需要接收 `bytes`,或是只包含 ASCII 字元(英文字符)的 `str`。這表示它無法處理像 `á` 這樣的字元,例如 `Sebastián`。
    
    為了處理這點,我們會先將 `username` 與 `password` 以 UTF-8 編碼成 `bytes`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/sql-databases.md

    /// tip
    
    You could use any other SQL or NoSQL database library you want (in some cases called <abbr title="Object Relational Mapper: a fancy term for a library where some classes represent SQL tables and instances represent rows in those tables">"ORMs"</abbr>), FastAPI doesn't force you to use anything. 😎
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        val event = listener.removeUpToEvent(ConnectionEvent.ConnectFailed::class.java)
        assertThat(event.route.socketAddress).isEqualTo(expectedAddress)
    
        // Read error: ssl=0x7fd1d8d0fee8: Failure in SSL library, usually a protocol error
        if (!platform.isConscrypt()) {
          assertThat(event.exception.message).isIn(
            "Unexpected handshake message: client_hello",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001_py310.py hl[10,12:13] *}
    
    /// tip | 豆知識
    
    ここでは、これらのユースケースに対してより正確になり得るため、`time.time()` の代わりに [`time.perf_counter()`](https://docs.python.org/3/library/time.html#time.perf_counter) を使用しています。 🤓
    
    ///
    
    ## 複数ミドルウェアの実行順序 { #multiple-middleware-execution-order }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/net/MediaType.java

       * href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd562994(v=vs.85).aspx">file
       * name extensions for Windows Media metafiles</a>.
       *
       * @since 20.0
       */
      public static final MediaType WMA_AUDIO = createConstant(AUDIO_TYPE, "x-ms-wma");
    
      /**
       * Windows Media metafiles. For more information, see <a
       * href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd562994(v=vs.85).aspx">file
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/extra-models.md

    It will be defined in OpenAPI with `anyOf`.
    
    To do that, use the standard Python type hint [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union):
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. CHANGELOG.md

     *  New: The `okhttp-zstd` module negotiates [Zstandard (zstd)][zstd] compression with servers that
        support it. It integrates a new (unstable) [ZSTD-KMP] library, also from Square. Enable it like
        this:
    
        ```kotlin
        val client = OkHttpClient.Builder()
          .addInterceptor(CompressionInterceptor(Zstd, Gzip))
          .build()
        ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top