Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 891 - 900 of 1,997 for responsive (0.06 seconds)

  1. fastapi/exception_handlers.py

    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):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 16 17:21:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. tests/test_security_scopes_dont_propagate.py

    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
            "dep1": ["scope3", "scope1"],
            "dep2": ["scope3", "scope2"],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/cors/CorsHandler.java

         *
         * @param origin the origin of the request
         * @param request the servlet request
         * @param response the servlet response
         */
        public abstract void process(String origin, ServletRequest request, ServletResponse response);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. docs/ko/docs/how-to/general.md

    반환하면 안 되는 데이터를 과도하게 반환하지 않도록 하려면, [튜토리얼 - 응답 모델 - 반환 타입](../tutorial/response-model.md) 문서를 읽어보세요.
    
    ## 응답 성능 최적화 - 응답 모델 - 반환 타입 { #optimize-response-performance-response-model-return-type }
    
    JSON 데이터를 반환할 때 성능을 최적화하려면 반환 타입 또는 응답 모델을 사용하세요. 그러면 Pydantic이 Python을 거치지 않고 Rust 측에서 JSON 직렬화를 처리합니다. 자세한 내용은 [튜토리얼 - 응답 모델 - 반환 타입](../tutorial/response-model.md) 문서를 참고하세요.
    
    ## 문서화 태그 - OpenAPI { #documentation-tags-openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. docs/ru/docs/advanced/additional-responses.md

    * [Объект Responses OpenAPI](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responses-object), он включает `Response Object`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.opensearch.config.exentity.CrawlingInfo;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin crawling info.
     *
     */
    public class ApiAdminCrawlinginfoAction extends FessApiAdminAction {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/failureurl/ApiAdminFailureurlAction.java

    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.opensearch.config.exentity.FailureUrl;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin failure URL.
     *
     */
    public class ApiAdminFailureurlAction extends FessApiAdminAction {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/sso/SsoManager.java

                }
            }
            return null;
        }
    
        /**
         * Gets the appropriate response for the specified SSO response type.
         *
         * @param responseType The type of SSO response required (e.g., METADATA, LOGOUT)
         * @return The action response from the SSO authenticator, or null if SSO is not available
         */
        public ActionResponse getResponse(final SsoResponseType responseType) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

                    }
                }
                .build()
            val response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString())
            if (response.statusCode() > 399) {
                throw RuntimeException("Failed to get pull requests: $uri ${response.statusCode()} ${response.body()}")
            }
            return Gson().fromJson(response.body(), klass)
        }
    
        private
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 24 07:54:08 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("initResponse prepares a response instance")
        void initResponseCreatesResponse() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            SmbComNTCreateAndXResponse resp = req.initResponse(mockContext);
            assertNotNull(resp, "Response should not be null after init");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
Back to Top