Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,070 for status (0.09 sec)

  1. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 871 bytes
    - Viewed (0)
  2. istioctl/pkg/writer/pilot/status.go

    	}
    
    	return w, fullStatus, nil
    }
    
    func xdsStatusPrintln(w io.Writer, status *xdsWriterStatus) error {
    	_, err := fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    		status.proxyID, status.clusterID,
    		status.clusterStatus, status.listenerStatus, status.endpointStatus, status.routeStatus,
    		status.extensionconfigStatus,
    		status.istiodID, status.istiodVersion)
    	return err
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 21 22:47:20 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/response-status-code.md

    /// tip | "Dica"
    
    Para saber mais sobre cada código de status e qual código serve para quê, verifique o <a href="https://developer.mozilla.org/pt-BR/docs/Web/HTTP/Status" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr> documentação sobre códigos de status HTTP</a>.
    
    ///
    
    ## Atalho para lembrar os nomes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. docs/ja/docs/advanced/additional-status-codes.md

    ///
    
    /// note | "技術詳細"
    
    `from starlette.responses import JSONResponse` を利用することもできます。
    
    **FastAPI** は `fastapi.responses` と同じ `starlette.responses` を、開発者の利便性のために提供しています。しかし有効なレスポンスはほとんどStarletteから来ています。 `status` についても同じです。
    
    ///
    
    ## OpenAPIとAPIドキュメント
    
    ステータスコードとレスポンスを直接返す場合、それらはOpenAPIスキーマ (APIドキュメント) には含まれません。なぜなら、FastAPIは何が返されるのか事前に知ることができないからです。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/response-change-status-code.md

    # 📨 - 🔀 👔 📟
    
    👆 🎲 ✍ ⏭ 👈 👆 💪 ⚒ 🔢 [📨 👔 📟](../tutorial/response-status-code.md){.internal-link target=_blank}.
    
    ✋️ 💼 👆 💪 📨 🎏 👔 📟 🌘 🔢.
    
    ## ⚙️ 💼
    
    🖼, 🌈 👈 👆 💚 📨 🇺🇸🔍 👔 📟 "👌" `200` 🔢.
    
    ✋️ 🚥 💽 🚫 🔀, 👆 💚 ✍ ⚫️, &amp; 📨 🇺🇸🔍 👔 📟 "✍" `201`.
    
    ✋️ 👆 💚 💪 ⛽ &amp; 🗜 💽 👆 📨 ⏮️ `response_model`.
    
    📚 💼, 👆 💪 ⚙️ `Response` 🔢.
    
    ## ⚙️ `Response` 🔢
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/additional-status-codes.md

    # Códigos de status adicionais
    
    Por padrão, o **FastAPI** retornará as respostas utilizando o `JSONResponse`, adicionando o conteúdo do retorno da sua *operação de caminho* dentro do `JSONResponse`.
    
    Ele usará o código de status padrão ou o que você definir na sua *operação de caminho*.
    
    ## Códigos de status adicionais
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/additional-status-codes.md

    # Additional Status Codes
    
    By default, **FastAPI** will return the responses using a `JSONResponse`, putting the content you return from your *path operation* inside of that `JSONResponse`.
    
    It will use the default status code or the one you set in your *path operation*.
    
    ## Additional status codes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:12:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/response-status-code.md

    **FastAPI** позволяет использовать как `starlette.status`, так и `fastapi.status` исключительно для удобства разработчиков. Но поставляется fastapi.status непосредственно из Starlette.
    
    ///
    
    ## Изменение кода статуса по умолчанию
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/response-status-code.md

    👫 🏪, 👫 🧑‍🤝‍🧑 🎏 🔢, ✋️ 👈 🌌 👆 💪 ⚙️ 👨‍🎨 📋 🔎 👫:
    
    <img src="/img/tutorial/response-status-code/image02.png">
    
    /// note | "📡 ℹ"
    
    👆 💪 ⚙️ `from starlette import status`.
    
    **FastAPI** 🚚 🎏 `starlette.status` `fastapi.status` 🏪 👆, 👩‍💻. ✋️ ⚫️ 👟 🔗 ⚪️➡️ 💃.
    
    ///
    
    ## 🔀 🔢
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/response-status-code.md

    **FastAPI** bietet dieselben `starlette.status`-Codes auch via `fastapi.status` an, als Annehmlichkeit für Sie, den Entwickler. Sie kommen aber direkt von Starlette.
    
    ///
    
    ## Den Defaultwert ändern
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:59:43 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top