Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,178 for Applications (0.07 seconds)

  1. docs/zh/docs/editor-support.md

    ### 应用发现 { #application-discovery }
    
    默认情况下,扩展会通过扫描实例化了 `FastAPI()` 的文件,自动发现工作区中的 FastAPI 应用。如果你的项目结构无法自动检测,你可以通过 `pyproject.toml` 中的 `[tool.fastapi]` 或 VS Code 设置项 `fastapi.entryPoint` 来指定入口点,使用模块表示法(例如 `myapp.main:app`)。
    
    ## 功能 { #features }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. cmd/api-response.go

    const (
    	// Means no response type.
    	mimeNone mimeType = ""
    	// Means response type is JSON.
    	mimeJSON mimeType = "application/json"
    	// Means response type is XML.
    	mimeXML mimeType = "application/xml"
    )
    
    // writeSuccessResponseJSON writes success headers and response if any,
    // with content-type set to `application/json`.
    func writeSuccessResponseJSON(w http.ResponseWriter, response []byte) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              exchange.responseHeadersStart()
              invokeStartEvent = false
            }
            if (responseBuilder == null) {
              if (requestBody.isDuplex()) {
                // Prepare a duplex body so that the application can send a request body later.
                exchange.flushRequest()
                val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
                requestBody.writeTo(bufferedRequestBody)
              } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

          file.name.endsWith(".html") -> "text/html"
          file.name.endsWith(".jpeg") -> "image/jpeg"
          file.name.endsWith(".jpg") -> "image/jpeg"
          file.name.endsWith(".js") -> "application/javascript"
          file.name.endsWith(".png") -> "image/png"
          else -> "text/plain"
        }
    
      private fun Socket.peerName(): String {
        val address = remoteSocketAddress
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/strict-content-type.md

    # 严格的 Content-Type 检查 { #strict-content-type-checking }
    
    默认情况下,FastAPI 对 JSON 请求体使用严格的 `Content-Type` 头检查。这意味着,JSON 请求必须包含有效的 `Content-Type` 头(例如 `application/json`),其请求体才会被按 JSON 解析。
    
    ## CSRF 风险 { #csrf-risk }
    
    此默认行为在一个非常特定的场景下,可防御一类跨站请求伪造(CSRF)攻击。
    
    这类攻击利用了浏览器的一个事实:当请求满足以下条件时,浏览器允许脚本在不进行任何 CORS 预检的情况下直接发送请求:
    
    - 没有 `Content-Type` 头(例如使用 `fetch()` 携带 `Blob` 作为 body)
    - 且不发送任何认证凭据。
    
    这种攻击主要在以下情况下相关:
    
    - 应用在本地(如 `localhost`)或内网中运行
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:29:48 GMT 2026
    - 3K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    java.lang.Thread#stop()
    # uncomment when https://github.com/elastic/elasticsearch/issues/31715 is fixed
    # java.lang.Thread#stop(java.lang.Throwable)
    
    @defaultMessage Please do not terminate the application
    java.lang.System#exit(int)
    java.lang.Runtime#exit(int)
    java.lang.Runtime#halt(int)
    
    @defaultMessage Treat system properties as immutable
    java.lang.System#setProperties(java.util.Properties)
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * never mutated once it has been assigned.
       */
      var peerSettings = DEFAULT_SETTINGS
    
      /** The bytes consumed and acknowledged by the application. */
      val readBytes: WindowCounter = WindowCounter(streamId = 0)
    
      /** The total number of bytes produced by the application. */
      var writeBytesTotal = 0L
        private set
    
      /** The total number of bytes permitted to be produced according to `WINDOW_UPDATE` frames. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/first-steps.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Waiting for application startup.
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    出力には次のような行があります:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         * Provides database access methods for DuplicateHost entities.
         */
        @Resource
        protected DuplicateHostBhv duplicateHostBhv;
    
        /**
         * Fess configuration containing application settings.
         * Used to retrieve paging and other configuration parameters.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Creates a new instance of DuplicateHostService.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/json-base64-bytes.md

    # JSON avec des octets en Base64 { #json-with-bytes-as-base64 }
    
    Si votre application doit recevoir et envoyer des données JSON, mais que vous devez y inclure des données binaires, vous pouvez les encoder en base64.
    
    ## Base64 vs fichiers { #base64-vs-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top