Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of over 10,000 for http2 (0.03 seconds)

  1. docs/zh/docs/tutorial/response-status-code.md

    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | 注意
    
    某些响应状态码表示响应没有响应体(参阅下一章)。
    
    FastAPI 可以进行识别,并生成表明无响应体的 OpenAPI 文档。
    
    ///
    
    ## 关于 HTTP 状态码 { #about-http-status-codes }
    
    /// note | 注意
    
    如果已经了解 HTTP 状态码,请跳到下一章。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  2. docs/ru/docs/tutorial/middleware.md

    Имейте в виду, что можно добавлять проприетарные HTTP-заголовки [с префиксом `X-`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers).
    
    Но если вы хотите, чтобы клиент в браузере мог видеть ваши пользовательские заголовки, необходимо добавить их в настройки CORS ([CORS (Cross-Origin Resource Sharing)](cors.md)), используя параметр `expose_headers`, описанный в [документации по CORS Starlette](https://www.starlette.dev/middleware/#corsmiddleware).
    
    ///
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/resources/poms/depmgmt/other-import.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
    
        <groupId>test</groupId>
        <artifactId>other-import</artifactId>
        <version>0.1-SNAPSHOT</version>
        <packaging>pom</packaging>
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 732 bytes
    - Click Count (0)
  4. kotlin-js-store/yarn.lock

      integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
    
    http-errors@2.0.0:
      version "2.0.0"
      resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
      integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==
      dependencies:
        depd "2.0.0"
        inherits "2.0.4"
        setprototypeof "1.2.0"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/async-tests.md

    Der `TestClient` basiert auf [HTTPX](https://www.python-httpx.org) und glücklicherweise können wir es direkt verwenden, um die API zu testen.
    
    ## Beispiel { #example }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  6. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on [HTTPX](https://www.python-httpx.org), and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  7. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          val expectedReason = reasons[i / 100]
          assertThat(response.status).isEqualTo("HTTP/1.1 $i $expectedReason")
          assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(response)).containsExactly("Content-Length: 0")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  8. docs/iam/policies/pbac-tests.sh

    export CI=true
    export MINIO_KMS_KES_ENDPOINT=https://127.0.0.1:7373
    export MINIO_KMS_KES_API_KEY="${API_KEY}"
    export MINIO_KMS_KES_KEY_NAME=minio-default-key
    export MINIO_KMS_KES_CAPATH=public.crt
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9000/"
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/dev/null) &
    pid=$!
    
    mc ready myminio
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 25 01:15:27 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  9. tests/test_top_level_security_scheme_in_openapi.py

    # Test security scheme at the top level, including OpenAPI
    # Ref: https://github.com/fastapi/fastapi/discussions/14263
    # Ref: https://github.com/fastapi/fastapi/issues/14271
    from fastapi import Depends, FastAPI
    from fastapi.security import HTTPBearer
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    bearer_scheme = HTTPBearer()
    
    
    @app.get("/", dependencies=[Depends(bearer_scheme)])
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/how-to/custom-docs-ui-assets.md

    下載文件所需的靜態檔案並放到 `static/` 目錄中。
    
    你可以在各連結上按右鍵,選擇類似「另存連結為...」的選項。
    
    Swagger UI 需要以下檔案:
    
    * [`swagger-ui-bundle.js`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js)
    * [`swagger-ui.css`](https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css)
    
    而 ReDoc 需要以下檔案:
    
    * [`redoc.standalone.js`](https://cdn.jsdelivr.net/npm/redoc@2/bundles/redoc.standalone.js)
    
    之後,你的檔案結構可能如下:
    
    ```
    .
    ├── app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.9K bytes
    - Click Count (0)
Back to Top