- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 1,413 for responseCh (0.1 sec)
-
docs/en/docs/how-to/custom-request-and-route.md
{* ../../docs_src/custom_request_and_route/tutorial003.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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 4.3K bytes - Viewed (0) -
api/go1.7.txt
pkg net/http, method (*Request) Context() context.Context pkg net/http, method (*Request) WithContext(context.Context) *Request pkg net/http, type Request struct, Response *Response pkg net/http, type Response struct, Uncompressed bool pkg net/http, type Transport struct, DialContext func(context.Context, string, string) (net.Conn, error) pkg net/http, type Transport struct, IdleConnTimeout time.Duration
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 28 15:08:11 UTC 2016 - 13.6K bytes - Viewed (0) -
cmd/perf-tests.go
errOnce.Do(func() { retError = err.Error() }) } uploadsCancel() return } response := time.Since(t) atomic.AddUint64(&totalBytesWritten, uint64(info.Size)) objCountPerThread[i]++ mu.Lock() uploadTimes = append(uploadTimes, response) mu.Unlock() } }(i) } wg.Wait() // We already saw write failures, no need to proceed into read's
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java
import org.lastaflute.web.api.ApiFailureHook; import org.lastaflute.web.api.ApiFailureResource; import org.lastaflute.web.login.exception.LoginUnauthorizedException; import org.lastaflute.web.response.ApiResponse; import org.lastaflute.web.response.JsonResponse; /** * @author jflute */ public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failure
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/admin-handlers.go
response.DecryptionErr = "The generated and the decrypted data key do not match" resp, err := json.Marshal(response) if err != nil { writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL) return } writeSuccessResponseJSON(w, resp) return } resp, err := json.Marshal(response) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 99.7K bytes - Viewed (0) -
docs/en/docs/reference/background.md
# Background Tasks - `BackgroundTasks` You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent. You can import it directly from `fastapi`: ```python from fastapi import BackgroundTasks ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 377 bytes - Viewed (0) -
docs/ja/docs/tutorial/handling-errors.md
```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | "技術詳細" また、`from starlette.requests import Request`と`from starlette.responses import JSONResponse`を使用することもできます。 **FastAPI** は開発者の利便性を考慮して、`fastapi.responses`と同じ`starlette.responses`を提供しています。しかし、利用可能なレスポンスのほとんどはStarletteから直接提供されます。これは`Request`と同じです。 /// ## デフォルトの例外ハンドラのオーバーライド **FastAPI** にはいくつかのデフォルトの例外ハンドラがあります。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
okhttp-tls/README.md
.build(); // Connect 'em all together. Certificates are exchanged in the handshake. Call call = client.newCall(new Request.Builder() .url(server.url("/")) .build()); Response response = call.execute(); System.out.println(response.handshake().peerPrincipal()); RecordedRequest recordedRequest = server.takeRequest(); System.out.println(recordedRequest.getHandshake().peerPrincipal()); ```
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 9.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
logger.debug("Logging in with SPNEGO Authenticator"); } final HttpServletResponse response = LaResponseUtil.getResponse(); final SpnegoHttpServletResponse spnegoResponse = new SpnegoHttpServletResponse(response); // client/caller principal final SpnegoPrincipal principal; try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
import org.codelibs.fess.dict.kuromoji.KuromojiFile; import org.codelibs.fess.dict.kuromoji.KuromojiItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; import jakarta.annotation.Resource; public class ApiAdminDictKuromojiAction extends FessApiAdminAction {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 7.3K bytes - Viewed (0)