- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 1,471 for requer (0.04 seconds)
-
docs_src/templates/tutorial001_py310.py
from fastapi import FastAPI, Request from fastapi.responses import HTMLResponse from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates app = FastAPI() app.mount("/static", StaticFiles(directory="static"), name="static") templates = Jinja2Templates(directory="templates") @app.get("/items/{id}", response_class=HTMLResponse) async def read_item(request: Request, id: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 521 bytes - Click Count (0) -
tests/test_exception_handlers.py
from starlette.responses import JSONResponse def http_exception_handler(request, exception): return JSONResponse({"exception": "http-exception"}) def request_validation_exception_handler(request, exception): return JSONResponse({"exception": "request-validation"}) def server_error_exception_handler(request, exception): return JSONResponse(status_code=500, content={"exception": "server-error"})
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 03 22:37:12 GMT 2024 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java
// When MsrpcEnumerateAliasesInDomain request = new MsrpcEnumerateAliasesInDomain(mockDomainHandle, acctFlags, mockSamArray); // Then assertNotNull(request, "The request object should not be null."); assertEquals(mockDomainHandle, request.domain_handle, "The domain handle should be set correctly."); assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
fastapi/security/api_key.py
) async def __call__(self, request: Request) -> str | None: api_key = request.query_params.get(self.model.name) return self.check_api_key(api_key) class APIKeyHeader(APIKeyBase): """ API key authentication using a header. This defines the name of the header that should be provided in the request withCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 9.6K bytes - Click Count (1) -
.github/workflows/update-jdks.yml
@dev-productivity - name: Trigger a build uses: peter-evans/create-or-update-comment@v5 if: ${{ steps.create-pull-request.outputs.pull-request-number }} with: issue-number: ${{ steps.create-pull-request.outputs.pull-request-number }} body: | @bot-gradle test ReadyForNightly ``` stopGradleDaemons=trueCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Dec 09 22:14:16 GMT 2025 - 2.1K bytes - Click Count (0) -
android-test/src/androidDeviceTest/java/okhttp/android/test/SingleAndroidTest.kt
@Test fun testHttpsRequest() { server.useHttps(handshakeCertificates.sslSocketFactory()) server.enqueue(MockResponse()) server.start() val request = Request.Builder().url(server.url("/")).build() val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) } while (client.connectionPool.connectionCount() > 0) { Thread.sleep(1000)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 26 07:38:51 GMT 2026 - 2.1K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
override fun onRedirectReceived( request: UrlRequest, info: UrlResponseInfo, newLocationUrl: String, ) { println("request " + info.httpStatusCode + " " + newLocationUrl) request.followRedirect() } override fun onResponseStarted( request: UrlRequest, info: UrlResponseInfo,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
clientList.add(client); } /** * Performs a chat completion request using the configured LLM client. * * @param request the chat request * @return the chat response * @throws LlmException if LLM is not available or an error occurs */ public LlmChatResponse chat(final LlmChatRequest request) { final long startTime = System.currentTimeMillis();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
.github/pull_request_template.md
--> Following this checklist to help us incorporate your contribution quickly and easily: - [ ] Your pull request should address just one issue, without pulling in other changes. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Each commit in the pull request should have a meaningful subject line and body. Note that commits might be squashed by a maintainer on merge.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Apr 01 17:30:11 GMT 2026 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
try { final PutObjectRequest request = PutObjectRequest.builder().bucket(bucket).key(objectName).contentType(contentType).contentLength(size).build(); s3Client.putObject(request, RequestBody.fromInputStream(inputStream, size)); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0)