Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 991 - 1000 of 1,338 for responder (0.05 seconds)

  1. docs_src/handling_errors/tutorial005_py39.py

    from fastapi import FastAPI, Request
    from fastapi.encoders import jsonable_encoder
    from fastapi.exceptions import RequestValidationError
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request: Request, exc: RequestValidationError):
        return JSONResponse(
            status_code=422,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 626 bytes
    - Click Count (0)
  2. docs/smb3-features/04-directory-leasing-design.md

                        
                        Smb2ChangeNotifyResponse response = (Smb2ChangeNotifyResponse) 
                            handle.directoryFile.getTree().send(request);
                        
                        if (response.isSuccess()) {
                            processChangeNotification(handle, response);
                        }
                        
                    } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);
    
                SmbComReadAndXResponse response = null;
                if (!th.isSMB2()) {
                    response = new SmbComReadAndXResponse(th.getConfig(), b, off);
                }
    
                do {
                    r = len > effectiveBlockSize ? effectiveBlockSize : len;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/SMBSigningDigest.java

         *            The length of the SMB data starting at offset.
         * @param request
         *            request message
         * @param response
         *            response message
         */
        void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response);
    
        /**
         * Performs MAC signature verification. This calculates the signature
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/header-params.md

    Wenn Sie mit dieser *Pfadoperation* kommunizieren und zwei HTTP-Header senden, wie:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Dann wäre die <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr>:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## Zusammenfassung { #recap }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

    public class CurlTest {
        private static final Logger logger = Logger.getLogger(CurlTest.class.getName());
    
        @Test
        public void test_Get() {
            Curl.get("https://www.codelibs.org/").execute(response -> {
                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
            }, e -> {
                logger.log(Level.SEVERE, "error", e);
                fail();
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. docs/ru/docs/tutorial/request-files.md

    Вы получите, как и было объявлено, список `list` из `bytes` или `UploadFile`.
    
    /// note | Технические детали
    
    Можно также использовать `from starlette.responses import HTMLResponse`.
    
    **FastAPI** предоставляет тот же `starlette.responses`, что и `fastapi.responses`, просто для удобства разработчика. Однако большинство доступных ответов поступает непосредственно из Starlette.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/middleware.md

    ///
    
    ### До і після `response`(`відповіді`)
    
    Ви можете додати код, який буде виконуватися з `запитом` (`request`), до того, як його обробить будь-яка *операція шляху* (*path operation*).
    
    Також Ви можете додати код, який буде виконуватися після того, як `відповідь` (`response`) буде згенеровано, перед тим як його повернути.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.request.Response;
    
    /**
     * Represents the response of a suggest index operation.
     * This class contains information about the number of suggest documents,
     * the number of input documents, any errors that occurred during the operation,
     * and the time taken to complete the operation.
     */
    public class SuggestIndexResponse implements Response {
        /** The number of suggest documents. */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. docs_src/response_directly/tutorial001_py310.py

    from datetime import datetime
    
    from fastapi import FastAPI
    from fastapi.encoders import jsonable_encoder
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        title: str
        timestamp: datetime
        description: str | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{id}")
    def update_item(id: str, item: Item):
        json_compatible_item_data = jsonable_encoder(item)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 474 bytes
    - Click Count (0)
Back to Top