- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for httpStatus (1.66 seconds)
-
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
} @Override public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) { if (cause instanceof LoginUnauthorizedException) { return asJson(createFailureBean(Status.UNAUTHORIZED, "Unauthorized request.")).httpStatus(HTTP_UNAUTHORIZED); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
tests/test_return_none_stringified_annotations.py
def test_no_content(): app = FastAPI() @app.get("/no-content", status_code=http.HTTPStatus.NO_CONTENT) def return_no_content() -> "None": return client = TestClient(app) response = client.get("/no-content") assert response.status_code == http.HTTPStatus.NO_CONTENT, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Sep 20 18:44:43 GMT 2025 - 431 bytes - Click Count (0) -
docs/uk/docs/tutorial/response-status-code.md
/// Параметр `status_code` приймає число з HTTP кодом статусу. /// info | Інформація `status_code` також може, як альтернативу, приймати `IntEnum`, наприклад, Python [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus). /// Він буде: * Повертати цей код статусу у відповіді. * Документувати його як такий у схемі OpenAPI (і, таким чином, в інтерфейсах користувача):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 6.3K bytes - Click Count (0) -
docs/es/docs/tutorial/response-status-code.md
/// El parámetro `status_code` recibe un número con el código de estado HTTP. /// info | Información `status_code` también puede recibir un `IntEnum`, como por ejemplo el [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) 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):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/de/docs/tutorial/response-status-code.md
/// Dem `status_code`-Parameter wird eine Zahl mit dem HTTP-Statuscode übergeben. /// info | Info Alternativ kann `status_code` auch ein `IntEnum` erhalten, wie etwa Pythons [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus). /// Dies wird: * Diesen Statuscode mit der Response zurücksenden. * Diesen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/fr/docs/tutorial/response-status-code.md
/// Le paramètre `status_code` reçoit un nombre correspondant au code d'état HTTP. /// info `status_code` peut aussi recevoir un `IntEnum`, comme le [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) de Python. /// Il va : * Renvoyer ce code d'état dans la réponse. * Le documenter comme tel dans le schéma OpenAPI (et donc dans les interfaces utilisateur) :
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/ru/docs/tutorial/response-status-code.md
/// info | Информация В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) в Python. /// Это позволит: * Возвращать указанный код статуса в ответе. * Документировать его как код статуса ответа в OpenAPI схеме (а значит, и в пользовательских интерфейсах):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 7K bytes - Click Count (0) -
docs/pt/docs/tutorial/response-status-code.md
/// O parâmetro `status_code` recebe um número com o código de status HTTP. /// info | Informação `status_code` também pode receber um `IntEnum`, como [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus) do Python. /// 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):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/tr/docs/tutorial/response-status-code.md
/// `status_code` parametresi, HTTP status code'u içeren bir sayı alır. /// info | Bilgi Alternatif olarak `status_code`, Python'un [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus)'ı gibi bir `IntEnum` da alabilir. /// Bu sayede: * Response'da o status code döner. * OpenAPI şemasında (dolayısıyla kullanıcı arayüzlerinde de) bu şekilde dokümante edilir:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.4K bytes - Click Count (0) -
docs/en/docs/tutorial/response-status-code.md
/// The `status_code` parameter receives a number with the HTTP status code. /// info `status_code` can alternatively also receive an `IntEnum`, such as Python's [`http.HTTPStatus`](https://docs.python.org/3/library/http.html#http.HTTPStatus). /// It will: * Return that status code in the response. * Document it as such in the OpenAPI schema (and so, in the user interfaces):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.9K bytes - Click Count (0)