Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for HTTP (0.15 sec)

  1. fastapi/security/http.py

    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    from typing_extensions import Annotated, Doc
    
    
    class HTTPBasicCredentials(BaseModel):
        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
        """
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Apr 19 15:29:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    
      [http.routers]
    
        [http.routers.app-http]
          entryPoints = ["http"]
          service = "app"
          rule = "PathPrefix(`/api/v1`)"
          middlewares = ["api-stripprefix"]
    
      [http.services]
    
        [http.services.app]
          [http.services.app.loadBalancer]
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  3. docs/ru/docs/tutorial/first-steps.md

    В окне вывода появится следующая строка:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Эта строка показывает URL-адрес, по которому приложение доступно на локальной машине.
    
    ### Проверьте
    
    Откройте браузер по адресу: <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    Вы увидите JSON-ответ следующего вида:
    
    ```JSON
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. docs/de/docs/deployment/https.md

        * Die Inhalte sind **verschlüsselt**, auch wenn sie mit dem **HTTP-Protokoll** gesendet werden.
    
    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)
  5. docs/de/docs/tutorial/first-steps.md

    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Diese Zeile zeigt die URL, unter der Ihre Anwendung auf Ihrem lokalen Computer bereitgestellt wird.
    
    ### Testen Sie es
    
    Öffnen Sie Ihren Browser unter <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000.</a>
    
    Sie werden folgende JSON-Response sehen:
    
    ```JSON
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/path-params.md

    ## <abbr title="Или валидация">Проверка</abbr> данных
    
    Если откроете браузер по адресу <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, то увидите интересную HTTP-ошибку:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/path-params.md

        <abbr title="conversion de la chaîne de caractères venant de la requête HTTP en données Python">"parsing"</abbr> automatique.
    
    ## Validation de données
    
    Si vous allez sur <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, vous aurez une belle erreur HTTP :
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

    from fastapi.param_functions import Form
    from fastapi.security.base import SecurityBase
    from fastapi.security.utils import get_authorization_scheme_param
    from starlette.requests import Request
    from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN
    
    # TODO: import from typing when deprecating Python 3.9
    from typing_extensions import Annotated, Doc
    
    
    class OAuth2PasswordRequestForm:
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  9. docs/en/docs/tutorial/first-steps.md

    In the output, there's a line with something like:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    That line shows the URL where your app is being served, in your local machine.
    
    ### Check it
    
    Open your browser at <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>.
    
    You will see the JSON response as:
    
    ```JSON
    {"message": "Hello World"}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/first-steps.md

    出力には次のような行があります:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    この行はローカルマシンでアプリが提供されているURLを示しています。
    
    ### チェック
    
    ブラウザで<a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a>を開きます。
    
    次のようなJSONレスポンスが表示されます:
    
    ```JSON
    {"message": "Hello World"}
    ```
    
    ### 対話的APIドキュメント
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top