- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for httpStatus (0.07 sec)
-
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); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
test-site/app/models/ContentsCreator.java
package models; import components.*; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; import org.apache.http.client.HttpClient; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.impl.client.HttpClientBuilder; import org.apache.http.util.EntityUtils; import play.Logger; import java.util.*;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 3.7K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 11:13:18 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/em/docs/tutorial/response-status-code.md
/// `status_code` 🔢 📨 🔢 ⏮️ 🇺🇸🔍 👔 📟. /// info `status_code` 💪 👐 📨 `IntEnum`, ✅ 🐍 <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. /// ⚫️ 🔜: * 📨 👈 👔 📟 📨. * 📄 ⚫️ ✅ 🗄 🔗 ( & , 👩💻 🔢): <img src="/img/tutorial/response-status-code/image01.png"> /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
/// info Alternativ kann `status_code` auch ein `IntEnum` erhalten, so wie Pythons <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a>. /// Das wird: * Diesen Statuscode mit der Response zurücksenden. * Ihn als solchen im OpenAPI-Schema dokumentieren (und somit in den Benutzeroberflächen):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:59:43 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-status-code.md
/// info | "Информация" В качестве значения параметра `status_code` также может использоваться `IntEnum`, например, из библиотеки <a href="https://docs.python.org/3/library/http.html#http.HTTPStatus" class="external-link" target="_blank">`http.HTTPStatus`</a> в Python. /// Это позволит: * Возвращать указанный код статуса в ответе. * Документировать его как код статуса ответа в OpenAPI схеме (а значит, и в пользовательском интерфейсе):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/main/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 /** `102 Processing` (WebDAV - RFC 2518) */ const val HTTP_PROCESSING = 102 /** `103 Early Hints (Early Hints - RFC 8297)` */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:24:48 UTC 2024 - 1.9K bytes - Viewed (0) -
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 4.3K bytes - Viewed (0)