- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 1,673 for Response_ (0.26 sec)
-
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** * This class represents the base response structure for API results. * It encapsulates the API response and provides methods to build different types of API responses. */ public class ApiResult { /** * The API response object. */ protected ApiResponse response = null; /** * Constructs an ApiResult with the specified ApiResponse. * @param response The API response object. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/handling-errors.md
{"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | 技术细节 `from starlette.requests import Request` 和 `from starlette.responses import JSONResponse` 也可以用于导入 `Request` 和 `JSONResponse`。 **FastAPI** 提供了与 `starlette.responses` 相同的 `fastapi.responses` 作为快捷方式,但大部分响应操作都可以直接从 Starlette 导入。同理,`Request` 也是如此。 /// ## 覆盖默认异常处理器 **FastAPI** 自带了一些默认异常处理器。Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
throw new SmbException("Response buffer is null"); } if (buffer.length < expectedSize) { failedValidations.incrementAndGet(); bufferOverflowsPrevented.incrementAndGet(); log.warn("Response buffer too small: {} < {}", buffer.length, expectedSize); throw new SmbException("Response buffer too small: " + buffer.length + " < " + expectedSize); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
docs/features/events.md
System.out.println("REQUEST 1 (new connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } System.out.println("REQUEST 2 (pooled connection)"); try (Response response = client.newCall(request).execute()) { // Consume and discard the response body. response.body().source().readByteString(); } ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
if rec.Code != testCase.expectedRespStatus { t.Errorf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`", i+1, instanceType, testCase.expectedRespStatus, rec.Code) } // Verify response the V2 signed HTTP request. // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. recV2 := httptest.NewRecorder()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 39.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/WebApiResponse.java
/** * Wrapper for HTTP servlet responses in web API context. * This class extends HttpServletResponseWrapper to provide custom response handling * for web API responses, including dummy output stream management. */ public class WebApiResponse extends HttpServletResponseWrapper { /** * Constructs a WebApiResponse with the specified response. * * @param response The original HTTP servlet response */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java
import org.codelibs.fess.dict.mapping.CharMappingFile; import org.codelibs.fess.dict.mapping.CharMappingItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; import jakarta.annotation.Resource; /** * API action for CRUD and file operations on dictionary character mappings. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.5K bytes - Viewed (0) -
fastapi/openapi/models.py
parameters: Optional[list[Union[Parameter, Reference]]] = None requestBody: Optional[Union[RequestBody, Reference]] = None # Using Any for Specification Extensions responses: Optional[dict[str, Union[Response, Any]]] = None callbacks: Optional[dict[str, Union[dict[str, "PathItem"], Reference]]] = None deprecated: Optional[bool] = None security: Optional[list[dict[str, list[str]]]] = None
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
If an incoming request does not validate correctly then a `400` response will be sent. ## `GZipMiddleware` { #gzipmiddleware } Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header. The middleware will handle both standard and streaming responses. {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03.py
assert response.json() == {"filename": "test.txt"} def test_openapi_schema(client: TestClient): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/": { "post": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.2K bytes - Viewed (0)