Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1491 - 1500 of 1,943 for Responses (0.05 seconds)

  1. 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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial008e_py310.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/dependencies/dependencies-with-yield.md

            handler -->> client: HTTP error response
        end
        dep ->> operation: Run dependency, e.g. DB session
        opt raise
            operation -->> dep: Raise Exception (e.g. HTTPException)
            opt handle
                dep -->> dep: Can catch exception, raise a new HTTPException, raise other exception
            end
            handler -->> client: HTTP error response
        end
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  4. docs/fr/docs/alternatives.md

    > Requests est l'un des packages Python les plus téléchargés de tous les temps
    
    La façon dont vous l'utilisez est très simple. Par exemple, pour faire une requête `GET`, vous devez écrire :
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    L’opération de chemin d'accès correspondante dans **FastAPI** pourrait ressembler à ceci :
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  5. 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;
    
    /**
     * The hook for API failure.
     *
     * @author jflute
     */
    public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failure
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

         * If an error occurs during execution, it will be cached and re-thrown for subsequent identical requests.
         *
         * @param <REQ> The request type
         * @param <REP> The response type
         * @param req The request object used as the cache key
         * @param supplier The function to execute and cache the result
         * @return The result from the supplier (either fresh or cached)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/cookie-param-models.md

    Pobres banners de cookies con todo su esfuerzo para obtener tu consentimiento para que la <dfn title="Esta es otra broma. No me prestes atención. Toma un café para tu cookie. ☕">API lo rechace</dfn>. 🍪
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

    import okhttp3.Headers
    
    /** An HTTP request initiated by the server. */
    public class PushPromise(
      public val method: String,
      public val path: String,
      public val headers: Headers,
      public val response: MockResponse,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 14 16:09:26 GMT 2025
    - 849 bytes
    - Click Count (0)
  9. scripts/playwright/json_base64_bytes/image01.py

        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/json_base64_bytes/tutorial001_py310.py"]
    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  10. doc/next/6-stdlib/99-minor/net/http/77370.md

    HTTP/1 [Response.Body] now automatically drains any unread content upon being
    closed, up to a conservative limit, to allow better connection reuse. For most
    programs, this change should be a no-op, or result in a performance improvement.
    In rare cases, programs that do not benefit from connection reuse might
    experience performance degradation if they had been improperly allowing an
    excessive amount of idle connections to linger; usually by setting
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Mar 24 13:29:25 GMT 2026
    - 863 bytes
    - Click Count (0)
Back to Top