- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,772 for request (0.14 sec)
-
docs/ko/docs/tutorial/middleware.md
만약 (나중에 문서에서 다룰) 백그라운드 작업이 있다면, 모든 미들웨어가 실행되고 *난 후에* 실행됩니다. /// ## 미들웨어 만들기 미들웨어를 작성하기 위해서 함수 상단에 `@app.middleware("http")` 데코레이터를 사용할 수 있습니다. 미들웨어 함수는 다음 항목들을 받습니다: * `request`. * `request`를 매개변수로 받는 `call_next` 함수. * 이 함수는 `request`를 해당하는 *경로 작업*으로 전달합니다. * 그런 다음, *경로 작업*에 의해 생성된 `response` 를 반환합니다. * `response`를 반환하기 전에 추가로 `response`를 수정할 수 있습니다. ```Python hl_lines="8-9 11 14"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
this.server = server platform.assumeOpenJSSE() } @Test fun testTlsv13Works() { enableTls() server.enqueue(MockResponse(body = "abc")) val request = Request(server.url("/")) val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/error/redirect.jsp
<% Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code"); String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name"); String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri"); String type = request.getParameter("type"); StringBuilder redirectPage = new StringBuilder(); redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 1.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
public static boolean isMultipartRequest(HttpServletRequest request) { return request.getContentType() != null && request.getContentType().startsWith(MULTIPART_FORMDATA_TYPE); } @Override public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial003.py
from fastapi import APIRouter, FastAPI, Request, Response from fastapi.routing import APIRoute class TimedRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: before = time.time() response: Response = await original_route_handler(request) duration = time.time() - before
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java
if (logger.isDebugEnabled()) { logger.debug("Logging in with Azure AD Authenticator"); } final HttpSession session = request.getSession(false); if (session != null && containsAuthenticationData(request)) { try { return processAuthenticationData(request);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 28.2K bytes - Viewed (0) -
docs/sts/web-identity.py
@app.route('/oauth2/callback') def callback(): error = request.args.get('error', '') if error: return "Error: " + error authorization_code = request.args.get('code') data = {'grant_type': 'authorization_code', 'code': authorization_code, 'redirect_uri': callback_uri} id_token_response = requests.post( token_url, data=data, verify=False,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 28 01:37:51 UTC 2021 - 2.9K bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt
.build() } @Test fun testRequestExternal() { assumeNetwork() val request = Request("https://www.google.com/robots.txt".toHttpUrl()) val networkRequest = request.newBuilder() .build() val call = client.newCall(networkRequest) call.execute().use { response -> assertThat(response.code).isEqualTo(200)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 2.5K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
name: Pkg.go.dev package removal request description: Request a package be removed from the documentation site (pkg.go.dev) title: "x/pkgsite: package removal request for [type path here]" labels: ["pkgsite/package-removal"] body: - type: markdown attributes: value: "Please answer these questions before submitting your issue. Thanks!" - type: input id: package-path attributes:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 1.9K bytes - Viewed (0)