Search Options

Results per page
Sort
Preferred Languages
Advance

Results 991 - 1000 of 3,237 for code2 (0.02 sec)

  1. docs/zh/docs/tutorial/request-forms.md

    但包含文件的表单编码为 `multipart/form-data`。文件处理详见下节。
    
    编码和表单字段详见 <a href="https://developer.mozilla.org/zh-CN/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> Web 文档的 <code>POST</code></a>小节。
    
    ///
    
    /// warning | 警告
    
    可在一个*路径操作*中声明多个 `Form` 参数,但不能同时声明要接收 JSON 的 `Body` 字段。因为此时请求体的编码是 `application/x-www-form-urlencoded`,不是 `application/json`。
    
    这不是 **FastAPI** 的问题,而是 HTTP 协议的规定。
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        awaitingPong = false
      }
    
      override fun onReadClose(
        code: Int,
        reason: String,
      ) {
        require(code != -1)
    
        synchronized(this) {
          check(receivedCloseCode == -1) { "already closed" }
          receivedCloseCode = code
          receivedCloseReason = reason
        }
    
        listener.onClosing(this, code, reason)
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractListMultimap.java

    /**
     * Basic implementation of the {@link ListMultimap} interface. It's a wrapper around {@link
     * AbstractMapBasedMultimap} that converts the returned collections into {@code Lists}. The {@link
     * #createCollection} method must return a {@code List}.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    abstract class AbstractListMultimap<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/Helpers.java

      /**
       * Asserts that all pairs of {@code T} values within {@code valuesInExpectedOrder} are ordered
       * consistently between their order within {@code valuesInExpectedOrder} and the order implied by
       * the given {@code comparator}.
       *
       * <p>In detail, this method asserts
       *
       * <ul>
       *   <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code
       *       valuesInExpectedOrder}; and
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java

         * @return The projects in the build order, never {@code null}.
         */
        List<MavenProject> getSortedProjects();
    
        /**
         * Gets the downstream projects of the specified project. A downstream project is a project that directly or
         * indirectly depends on the given project.
         *
         * @param project The project whose downstream projects should be retrieved, must not be {@code null}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java

         *
         * @param result The interim result, may be {@code null}.
         */
        public ModelBuilderException(ModelBuilderResult result) {
            super(result.toString());
            this.result = result;
        }
    
        /**
         * Gets the interim result of the model building up to the point where it failed.
         *
         * @return The interim model building result or {@code null} if not available.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 25 21:57:56 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. docs/ru/docs/deployment/docker.md

    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    # (2)!
    CMD ["fastapi", "run", "main.py", "--port", "80"]
    ```
    
    1. Копируем файл `main.py` напрямую в `/code` (без директории `./app`).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 44.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    try {
                        final NetbiosAddress nbaddr = getAddress().unwrap(NetbiosAddress.class);
                        if (nbaddr != null) {
                            final int code = nbaddr.getNameType();
                            if (code == 0x1d || code == 0x1b) {
                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

         * {@link #nextElements} if {@code next()} was called more recently then {@code previous},
         * {@link #previousElements} if the reverse is true, or -- overriding both of these -- {@code
         * null} if {@code remove()} or {@code add()} has been called more recently than either. We use
         * this to determine which stack to pop from on a call to {@code remove()} (or to pop from and
         * push to on a call to {@code set()}).
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

        return of(collector, Objects::equals);
      }
    
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using the specified {@code equivalence}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
          CollectorTester<T, A, R> of(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top