Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for httpStats (0.63 sec)

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

    /// info | Información
    
    `status_code` también puede recibir un `IntEnum`, como por ejemplo el <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> de Python.
    
    ///
    
    Esto hará:
    
    * Devolver ese código de estado en el response.
    * Documentarlo como tal en el esquema de OpenAPI (y por lo tanto, en las interfaces de usuario):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/response-status-code.md

    /// info | Informação
    
    `status_code` também pode receber um `IntEnum`, como o do Python <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    * Será documentado como tal no esquema OpenAPI (e, portanto, nas interfaces do usuário):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-status-code.md

    /// info
    
    `status_code` can alternatively also receive an `IntEnum`, such as Python's <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>.
    
    ///
    
    It will:
    
    * Return that status code in the response.
    * Document it as such in the OpenAPI schema (and so, in the user interfaces):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/response-status-code.md

    ///
    
    `status_code` 参数接收表示 HTTP 状态码的数字。
    
    /// info | 说明
    
    `status_code` 还能接收 `IntEnum` 类型,比如 Python 的 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>。
    
    ///
    
    它可以:
    
    * 在响应中返回状态码
    * 在 OpenAPI 概图(及用户界面)中存档:
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | 笔记
    
    某些响应状态码表示响应没有响应体(参阅下一章)。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    //
    // https://datatracker.ietf.org/doc/html/rfc7231#page-47
    //
    // From https://github.com/apache/httpcomponents-core/blob/master/httpcore5/src/main/java/org/apache/hc/core5/http/HttpStatus.java
    
    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `101 Switching Protocols` (HTTP/1.1 - RFC 9110)  */
    const val HTTP_SWITCHING_PROTOCOLS = 101
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/response-status-code.md

    ///
    
    `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。
    
    /// info | 情報
    
    `status_code`は代わりに、Pythonの<a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>のように、`IntEnum`を受け取ることもできます。
    
    ///
    
    これは:
    
    * レスポンスでステータスコードを返します。
    * OpenAPIスキーマ(およびユーザーインターフェース)に以下のように文書化します:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. tests/main.py

    
    @app.get("/query/param-required/int")
    def get_query_param_required_type(query: int = Query()):
        return f"foo bar {query}"
    
    
    @app.get("/enum-status-code", status_code=http.HTTPStatus.CREATED)
    def get_enum_status_code():
        return "foo bar"
    
    
    @app.get("/query/frozenset")
    def get_query_type_frozenset(query: frozenset[int] = Query(...)):
        return ",".join(map(str, sorted(query)))
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/response-status-code.md

    /// note | 참고
    
    `status_code` 는 "데코레이터" 메소드(`get`, `post` 등)의 매개변수입니다. 모든 매개변수들과 본문처럼 *경로 작동 함수*가 아닙니다.
    
    ///
    
    `status_code` 매개변수는 HTTP 상태 코드를 숫자로 입력받습니다.
    
    /// info | 정보
    
    `status_code` 는 파이썬의 `http.HTTPStatus` 와 같은 `IntEnum` 을 입력받을 수도 있습니다.
    
    ///
    
    `status_code` 매개변수는:
    
    * 응답에서 해당 상태 코드를 반환합니다.
    * 상태 코드를 OpenAPI 스키마(및 사용자 인터페이스)에 문서화 합니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final ResponseData responseData = client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
            if (responseData.getHttpStatusCode() == 404) {
                response.httpStatus(responseData.getHttpStatusCode());
                CloseableUtil.closeQuietly(responseData);
                return response;
            }
            writeFileName(response, responseData);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. fastapi/routing.py

                )
            else:
                current_generate_unique_id = generate_unique_id_function
            self.unique_id = self.operation_id or current_generate_unique_id(self)
            # normalize enums e.g. http.HTTPStatus
            if isinstance(status_code, IntEnum):
                status_code = int(status_code)
            self.status_code = status_code
            if self.response_model:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
Back to top