Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 3,147 for links (0.02 sec)

  1. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    ```Python hl_lines="2-3  22"
    {!../../docs_src/wsgi/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/response-status-code.md

    /// info
    
    Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Das wird:
    
    * Diesen Statuscode mit der Response zurücksenden.
    * Ihn als solchen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/response-status-code.md

    /// info | "Информация"
    
    В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> в Python.
    
    ///
    
    Это позволит:
    
    * Возвращать указанный код статуса в ответе.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleUtils.java

      }
    
      // The mask for the significand, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long SIGNIFICAND_MASK = 0x000fffffffffffffL;
    
      // The mask for the exponent, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
      static final long EXPONENT_MASK = 0x7ff0000000000000L;
    
      // The mask for the sign, according to the {@link
      // Double#doubleToRawLongBits(double)} spec.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, and
       * using {@link java.util.BitSet#nextSetBit(int)} or {@link java.util.BitSet#nextClearBit(int)}.
       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Booleans.java

      }
    
      /**
       * Returns the index of the first appearance of the value {@code target} in {@code array}.
       *
       * <p><b>Note:</b> consider representing the array as a {@link java.util.BitSet} instead, and
       * using {@link java.util.BitSet#nextSetBit(int)} or {@link java.util.BitSet#nextClearBit(int)}.
       *
       * @param array an array of {@code boolean} values, possibly empty
       * @param target a primitive {@code boolean} value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/WriterUtil.java

    /**
     * {@link Writer}用のユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class WriterUtil {
    
        /**
         * 指定のエンコーディングでストリームへ出力する{@link Writer}を作成します。
         *
         * @param os
         *            ストリーム。{@literal null}であってはいけません
         * @param encoding
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         * @return ストリームへ出力する{@link Writer}
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    			<li id="result${s.index}">
    				<h3 class="title text-truncate">
    					<a class="link" href="${doc.url_link}" data-uri="${doc.url_link}"
    						data-id="${doc.doc_id}" data-order="${s.index}">${doc.content_title}</a>
    				</h3>
    				<div class="body">
    					<c:if test="${thumbnailSupport && !empty doc.thumbnail}">
    					<div class="mr-3">
    						<a class="link d-none d-sm-flex" href="${doc.url_link}" data-uri="${doc.url_link}" data-id="${doc.doc_id}"
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/testing.md

    # 测试
    
    感谢 <a href="https://www.starlette.io/testclient/" class="external-link" target="_blank">Starlette</a>,测试**FastAPI** 应用轻松又愉快。
    
    它基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a>, 而HTTPX又是基于Requests设计的,所以很相似且易懂。
    
    有了它,你可以直接与**FastAPI**一起使用 <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a>。
    
    ## 使用 `TestClient`
    
    /// info | "信息"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top