- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,082 for Requests (0.05 sec)
-
docs/zh/docs/advanced/openapi-callbacks.md
本例没有实现回调本身(只是一行代码),只有文档部分。 /// tip | 提示 实际的回调只是 HTTP 请求。 实现回调时,要使用 <a href="https://www.encode.io/httpx/" class="external-link" target="_blank">HTTPX</a> 或 <a href="https://requests.readthedocs.io/" class="external-link" target="_blank">Requests</a>。 /// ## 编写回调文档代码 应用不执行这部分代码,只是用它来*记录 外部 API* 。 但,您已经知道用 **FastAPI** 创建自动 API 文档有多简单了。 我们要使用与存档*外部 API* 相同的知识……通过创建外部 API 要实现的*路径操作*(您的 API 要调用的)。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 6.5K bytes - Viewed (0) -
.github/workflows/update-test-buckets.yml
echo "changes=true" >> $GITHUB_OUTPUT else echo "changes=false" >> $GITHUB_OUTPUT fi - name: Create Pull Request if: steps.check-changes.outputs.changes == 'true' uses: peter-evans/create-pull-request@v8 with: commit-message: Update test buckets branch: devprod/update-test-buckets branch-suffix: timestamp
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 09 22:14:16 UTC 2025 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java
* Returns the value of the request header. * @return The value of the request header. */ public String getValue() { return value; } /** * Sets the value of the request header. * @param value The value of the request header. */ public void setValue(final String value) { this.value = value; } /** * Checks if the request header is valid.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
if (total == 0) { return 1.0; } return (double) totalSuccesses.get() / total; } /** * Check if circuit breaker allows requests * * @return true if requests are allowed */ public boolean allowsRequests() { State current = evaluateState(); return current != State.OPEN; } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
README.md
- https://gitbox.apache.org/repos/asf/lucene-solr.git ## GitHub forks? If you are using GitHub, make a clone of the corresponding repository mirror and create your pull requests against the main branch: - Lucene: <https://github.com/apache/lucene>
Registered: Sat Dec 20 08:54:13 UTC 2025 - Last Modified: Wed Mar 10 10:02:23 UTC 2021 - 1.5K bytes - Viewed (0) -
README.md
```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } ``` Post to a Server ---------------- This program posts data to a service. [Full source][post_example].
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/auth-handler.go
return claims.Map(), ErrNone } // Check request auth type verifies the incoming http request // - validates the request signature // - validates the policy action if anonymous tests bucket policies if any, // for authenticated requests validates IAM policies. // // returns APIErrorCode if any to be replied to the client.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java
/** The request being built. */ protected Req request; /** * Constructor for RequestBuilder. * @param client The OpenSearch client. * @param request The request instance. */ public RequestBuilder(final Client client, final Req request) { this.client = client; this.request = request; } /** * Executes the request.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.6K bytes - Viewed (0) -
fastapi/exception_handlers.py
from fastapi.websockets import WebSocket from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.responses import JSONResponse, Response from starlette.status import WS_1008_POLICY_VIOLATION async def http_exception_handler(request: Request, exc: HTTPException) -> Response: headers = getattr(exc, "headers", None) if not is_body_allowed_for_status_code(exc.status_code):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 16 17:21:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/go/GoForm.java
import java.util.HashMap; import java.util.Map; import org.lastaflute.web.validation.Required; import jakarta.validation.constraints.Size; /** * Form class for handling "go" requests that redirect users to specific documents * or search results. This form captures the necessary parameters for document * access tracking and error page fallback information. * */ public class GoForm { /**
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0)