Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for Reaber (0.15 sec)

  1. docs/de/docs/tutorial/middleware.md

    {!../../../docs_src/middleware/tutorial001.py!}
    ```
    
    !!! tip "Tipp"
        Beachten Sie, dass benutzerdefinierte proprietäre Header hinzugefügt werden können. <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers" class="external-link" target="_blank">Verwenden Sie dafür das Präfix 'X-'</a>.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 23 11:26:59 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/middleware.md

    ```Python hl_lines="2  6"
    {!../../../docs_src/advanced_middleware/tutorial001.py!}
    ```
    
    ## `TrustedHostMiddleware`
    
    Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks.
    
    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image03.png">
    
    ### Working with Python *enumerations*
    
    The value of the *path parameter* will be an *enumeration member*.
    
    #### Compare *enumeration members*
    
    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    ```Python hl_lines="17"
    {!../../../docs_src/path_params/tutorial005.py!}
    ```
    
    #### Get the *enumeration value*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/body-nested-models.md

        ```
    
    !!! tip "Tipp"
        Bedenken Sie, dass JSON nur `str` als Schlüssel unterstützt.
    
        Aber Pydantic hat automatische Datenkonvertierung.
    
        Das bedeutet, dass Ihre API-Clients nur Strings senden können, aber solange diese Strings nur Zahlen enthalten, wird Pydantic sie konvertieren und validieren.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/middleware.md

    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response:
    
    ```Python hl_lines="10  12-13"
    {!../../../docs_src/middleware/tutorial001.py!}
    ```
    
    ## Other middlewares
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. docs/de/docs/deployment/https.md

    # Über HTTPS
    
    Es ist leicht anzunehmen, dass HTTPS etwas ist, was einfach nur „aktiviert“ wird oder nicht.
    
    Aber es ist viel komplexer als das.
    
    !!! tip "Tipp"
        Wenn Sie es eilig haben oder es Ihnen egal ist, fahren Sie mit den nächsten Abschnitten fort, um Schritt-für-Schritt-Anleitungen für die Einrichtung der verschiedenen Technologien zu erhalten.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:16:46 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. docs/de/docs/project-generation.md

    Ein Projektgenerator verfügt immer über ein sehr spezifisches Setup, das Sie aktualisieren und an Ihre eigenen Bedürfnisse anpassen sollten, aber es könnte ein guter Ausgangspunkt für Ihr Projekt sein.
    
    ## Full Stack FastAPI PostgreSQL
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:14:36 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        {!> ../../../docs_src/dependencies/tutorial005.py!}
        ```
    
    Diese deklariert einen optionalen Abfrageparameter `q` vom Typ `str` und gibt ihn dann einfach zurück.
    
    Das ist recht einfach (nicht sehr nützlich), hilft uns aber dabei, uns auf die Funktionsweise der Unterabhängigkeiten zu konzentrieren.
    
    ## Zweite Abhängigkeit, „Dependable“ und „Dependant“
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/cors.md

    为此,后端必须有一个「允许的源」列表。
    
    在这种情况下,它必须包含 `http://localhost:8080`,前端才能正常工作。
    
    ## 通配符
    
    也可以使用 `"*"`(一个「通配符」)声明这个列表,表示全部都是允许的。
    
    但这仅允许某些类型的通信,不包括所有涉及凭据的内容:像 Cookies 以及那些使用 Bearer 令牌的授权 headers 等。
    
    因此,为了一切都能正常工作,最好显式地指定允许的源。
    
    ## 使用 `CORSMiddleware`
    
    你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。
    
    * 导入 `CORSMiddleware`。
    * 创建一个允许的源列表(由字符串组成)。
    * 将其作为「中间件」添加到你的 **FastAPI** 应用中。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 27 17:28:07 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/cors.md

    이 경우, 프론트엔드가 제대로 동작하기 위해 `http://localhost:8080`을 목록에 포함해야 합니다.
    
    ## 와일드카드
    
    모든 출처를 허용하기 위해 목록을 `"*"` ("와일드카드")로 선언하는 것도 가능합니다.
    
    하지만 이것은 특정한 유형의 통신만을 허용하며, 쿠키 및 액세스 토큰과 사용되는 인증 헤더(Authoriztion header) 등이 포함된 경우와 같이 자격 증명(credentials)이 포함된 통신은 허용되지 않습니다.
    
    따라서 모든 작업을 의도한대로 실행하기 위해, 허용되는 출처를 명시적으로 지정하는 것이 좋습니다.
    
    ## `CORSMiddleware` 사용
    
    `CORSMiddleware` 을 사용하여 **FastAPI** 응용 프로그램의 교차 출처 리소스 공유 환경을 설정할 수 있습니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 07 14:21:23 GMT 2023
    - 5.8K bytes
    - Viewed (0)
Back to top