Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 2,486 for tape (0.07 seconds)

  1. docs/zh-hant/docs/advanced/custom-response.md

    但如果你直接回傳一個 `Response`(或其子類別,例如 `JSONResponse`),資料將不會被自動轉換(即使你宣告了 `response_model`),而且文件也不會自動產生(例如,在產生的 OpenAPI 中包含 HTTP 標頭 `Content-Type` 的特定「media type」)。
    
    你也可以在「路徑操作裝飾器」中使用 `response_class` 參數,宣告要使用的 `Response`(例如任意 `Response` 子類別)。
    
    你從「路徑操作函式」回傳的內容,會被放進該 `Response` 中。
    
    /// note
    
    若你使用的回應類別沒有 media type,FastAPI 會假設你的回應沒有內容,因此不會在產生的 OpenAPI 文件中記錄回應格式。
    
    ///
    
    ## JSON 回應 { #json-responses }
    
    FastAPI 預設回傳 JSON 回應。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

            }
          }
    
        skipWhitespace()
        if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
        // "valid" or "mapped"
        skipWhitespace()
        val type = select(optionsType)
    
        when (type) {
          TYPE_DEVIATION, TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> {
            skipWhitespace()
            if (readByte() != ';'.code.toByte()) throw IOException("expected ';'")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/Pac.java

         * @return the PAC logon information
         */
        public PacLogonInfo getLogonInfo() {
            return this.logonInfo;
        }
    
        /**
         * Returns the PAC credential type information.
         * @return the PAC credential type
         */
        public PacCredentialType getCredentialType() {
            return this.credentialType;
        }
    
        /**
         * Returns the server signature used to validate PAC integrity.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * natural ordering. The sorted multisets use {@link Ordering#natural()} as the comparator. This
       * method provides more type-safety than {@link #builder}, as it can be called only for classes
       * that implement {@link Comparable}.
       *
       * <p>Note: the type parameter {@code E} extends {@code Comparable<?>} rather than {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. docs/en/docs/how-to/general.md

    To ensure that you don't return more data than you should, read the docs for [Tutorial - Response Model - Return Type](../tutorial/response-model.md).
    
    ## Optimize Response Performance - Response Model - Return Type { #optimize-response-performance-response-model-return-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ): Unit = throw e
          },
        )
        newWebSocket()
        assertThat(testLogHandler.take()).isEqualTo("INFO: [WS client] onFailure")
      }
    
      @Test
      fun throwingOnMessageClosesImmediatelyAndFails() {
        webServer.enqueue(
          MockResponse
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/bigger-applications.md

    So, behind the scenes, it will actually work as if everything was the same single app.
    
    ///
    
    /// check
    
    You don't have to worry about performance when including routers.
    
    This will take microseconds and will only happen at startup.
    
    So it won't affect performance. ⚡
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 19.2K bytes
    - Click Count (0)
  8. tests/test_additional_responses_union_duplicate_anyof.py

                            "properties": {"a": {"type": "string", "title": "A"}},
                            "type": "object",
                            "required": ["a"],
                            "title": "ModelA",
                        },
                        "ModelB": {
                            "properties": {"b": {"type": "string", "title": "B"}},
                            "type": "object",
                            "required": ["b"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/configurations/FunctionalTestsPass.kt

    ) : OsAwareBaseGradleBuildType(os = functionalTestProject.testCoverage.os, init = {
            id("${functionalTestProject.testCoverage.asId(model)}_Trigger")
            name = functionalTestProject.name + " (Trigger)"
            type = Type.COMPOSITE
    
            applyDefaultSettings()
    
            dependencies {
                snapshotDependencies(functionalTestProject.functionalTests)
            }
        }) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

            String name;
            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            @Override
            public String getName() {
                return this.name;
            }
    
            @Override
            public int getType() {
                return (this.type & 0x80000000) != 0 ? SmbConstants.TYPE_WORKGROUP : SmbConstants.TYPE_SERVER;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top