Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,838 for RESPONSE (0.06 sec)

  1. tests/test_orjson_response_class.py

        key = quoted_name(value="msg", quote=False)
        return {key: "Hello World", 1: 1}
    
    
    client = TestClient(app)
    
    
    def test_orjson_non_str_keys():
        with client:
            response = client.get("/orjson_non_str_keys")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Sep 02 10:17:31 UTC 2022
    - 562 bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial009c_py39.py

    from typing import Any
    
    import orjson
    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    class CustomORJSONResponse(Response):
        media_type = "application/json"
    
        def render(self, content: Any) -> bytes:
            assert orjson is not None, "orjson must be installed"
            return orjson.dumps(content, option=orjson.OPT_INDENT_2)
    
    
    @app.get("/", response_class=CustomORJSONResponse)
    async def main():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 451 bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key
     * that can be used for server-side copy operations.
     *
     * @author mbechler
     *
     */
    public class SrvRequestResumeKeyResponse implements Decodable {
    
        /**
         * Constructs a new SrvRequestResumeKeyResponse.
         * This response contains the resume key used for server-side copy operations.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (3)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/log/LogType.java

        NOT_MODIFIED,
        /** Indicates getting content from a resource. */
        GET_CONTENT,
        /** Indicates a redirect location was found. */
        REDIRECT_LOCATION,
        /** Indicates processing a response. */
        PROCESS_RESPONSE,
        /** Indicates the crawling process has finished. */
        FINISHED_CRAWLING,
        /** Indicates processing child URLs due to an exception. */
        PROCESS_CHILD_URLS_BY_EXCEPTION,
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponse.java

    import jcifs.Configuration;
    
    /**
     * Response for SMB1 TRANS_WAIT_NAMED_PIPE transaction.
     *
     * This response is received after waiting for a named pipe to become available
     * for connection when the pipe server was busy.
     */
    public class TransWaitNamedPipeResponse extends SmbComTransactionResponse {
    
        /**
         * Constructs a response for a wait named pipe request.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @Test
            @DisplayName("Should create appropriate response")
            void testCreateResponse() {
                Smb2LockResponse response = request.createResponse(mockContext, request);
                assertNotNull(response);
                assertTrue(response instanceof Smb2LockResponse);
            }
    
            @Test
            @DisplayName("Should create response with same configuration")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. tests/test_dependency_wrapped.py

            "/wrapped-endpoint-async-wrapper/",
            "/async-wrapped-endpoint-async-wrapper/",
        ],
    )
    def test_class_dependency(route):
        response = client.get(route)
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

     * write timeout. Original configuration is kept, but can be overriden.
     *
     * ```java
     * OkHttpClient eagerClient = client.newBuilder()
     *     .readTimeout(500, TimeUnit.MILLISECONDS)
     *     .build();
     * Response response = eagerClient.newCall(request).execute();
     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.dict.DictionaryItem;
    import org.codelibs.fess.dict.DictionaryManager;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin dictionary management.
     * Provides REST endpoints for managing dictionaries in the Fess search engine.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
         */
        void setTid(int t);
    
        /**
         * Gets the custom response timeout for this request.
         *
         * @return custom response timeout for this request
         */
        Integer getOverrideTimeout();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top