- Sort Score
- Num 10 results
- Language All
Results 1001 - 1010 of 1,338 for responder (0.06 seconds)
-
docs/extensions/s3zip/examples/boto3/main.py
request.headers.add_header('x-minio-extract', 'true') event_system = s3.meta.events event_system.register_first('before-sign.s3.*', _add_header) # List zip contents response = s3.list_objects_v2(Bucket="your-bucket", Prefix="path/to/file.zip/") print(response) # Download data.csv stored in the zip file
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Aug 04 21:15:45 GMT 2021 - 771 bytes - Click Count (0) -
docs_src/templates/tutorial001_py39.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 Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 521 bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_an_py39.py
import gzip from typing import Annotated, Callable from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 988 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchLogHelper.java
} addDocumentsInResponse(queryResponseList, searchLog); searchLogQueue.add(searchLog); } /** * Adds documents in the response to the search log. * * @param queryResponseList The list of query responses. * @param searchLog The search log. */ protected void addDocumentsInResponse(final QueryResponseList queryResponseList, final SearchLog searchLog) {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 26.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
* @param response the servlet response to use for redirection * @param chain the filter chain to continue processing * @throws IOException if an I/O error occurs during processing * @throws ServletException if a servlet error occurs */ @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 9.5K bytes - Click Count (0) -
tests/test_security_scopes.py
@pytest.fixture(name="client") def client_fixture(app: FastAPI): return TestClient(app) def test_security_scopes_dependency_called_once( client: TestClient, call_counter: dict[str, int] ): response = client.get("/") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1006 bytes - Click Count (0) -
internal/config/policy/opa/config.go
if err != nil { return false, err } // Handle large OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz type opaResultAllow struct { Result struct { Allow bool `json:"allow"` } `json:"result"` } // Handle simpler OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz/allow type opaResult struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0) -
docs_src/handling_errors/tutorial003_py39.py
from fastapi import FastAPI, Request from fastapi.responses import JSONResponse class UnicornException(Exception): def __init__(self, name: str): self.name = name app = FastAPI() @app.exception_handler(UnicornException) async def unicorn_exception_handler(request: Request, exc: UnicornException): return JSONResponse( status_code=418,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
### Modell für Ausgabe-Responsedaten { #model-for-output-response-data } Wenn Sie mit der Dokumentation interagieren und die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> überprüfen, enthält die JSON-Response den Defaultwert (`null`), obwohl der Code nichts in eines der `description`-Felder geschrieben hat: <div class="screenshot">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
{* ../../docs_src/custom_request_and_route/tutorial003_py310.py hl[26] *} In this example, the *path operations* under the `router` will use the custom `TimedRoute` class, and will have an extra `X-Response-Time` header in the response with the time it took to generate the response:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0)