Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 1,687 for Responses (0.16 sec)

  1. 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)
  2. 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)
  3. src/main/java/org/codelibs/fess/app/web/base/FessLoginAction.java

         */
        public FessLoginAction() {
            super();
        }
    
        /**
         * Returns the appropriate HTML response for login handling.
         * If a user is already authenticated, redirects to the appropriate admin interface.
         * Otherwise, displays the login page.
         *
         * @return HTML response for login page or redirect to admin interface
         */
        protected HtmlResponse getHtmlResponse() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.internal.smb2.io.Smb2WriteRequest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    import jcifs.util.transport.Response;
    
    /**
     * SMB2 Negotiate Protocol response message.
     *
     * This response contains the server's protocol capabilities,
     * security mode, and negotiated dialect version.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. 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)
  6. regression-test/README.md

    ```
    $ adb logcat '*:E' OkHttp:D Http2:D TestRunner:D TaskRunner:D OkHttpTest:D GnssHAL_GnssInterface:F DeviceStateChecker:F memtrack:F
    ...
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AABwAAQ}
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/query-param-models.md

    Si un cliente intenta enviar algunos datos **extra** en los **parámetros query**, recibirán un response de **error**.
    
    Por ejemplo, si el cliente intenta enviar un parámetro query `tool` con un valor de `plumbus`, como:
    
    ```http
    https://example.com/items/?limit=10&tool=plumbus
    ```
    
    Recibirán un response de **error** que les indica que el parámetro query `tool` no está permitido:
    
    ```json
    {
        "detail": [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

    import org.codelibs.fess.app.web.api.ApiResult;
    import org.codelibs.fess.app.web.api.admin.FessApiAdminAction;
    import org.codelibs.fess.opensearch.user.exentity.Role;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.JsonResponse;
    
    import jakarta.annotation.Resource;
    
    /**
     * API action for admin role management.
     */
    public class ApiAdminRoleAction extends FessApiAdminAction {
    
        /** The logger for this class. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. tests/test_security_scopes_dont_propagate.py

    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
            "dep1": ["scope3", "scope1"],
            "dep2": ["scope3", "scope2"],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 973 bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationTest.java

        @Test
        @DisplayName("getResponse should return the same response instance")
        void testGetResponse() {
            // Verify getResponse returns the exact same instance
            SmbNegotiationResponse response = negotiation.getResponse();
            assertSame(mockResponse, response);
    
            // Verify multiple calls return the same instance
            assertSame(response, negotiation.getResponse());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top