Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 2,539 for Request (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                Arrays.fill(data, (byte) 0x42);
                CommonServerMessageBlock request = mock(CommonServerMessageBlock.class);
                CommonServerMessageBlock response = mock(CommonServerMessageBlock.class);
    
                // Sign with first digest
                digest1.sign(data, 0, data.length, request, response);
    
                // Verify with second digest (simulating server verification)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

        /** The request attribute key for storing cached user agent type */
        protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent";
    
        /**
         * Determines the user agent type from the current HTTP request.
         * The method analyzes the User-Agent header to categorize the browser type
         * and caches the result in the request attribute for subsequent calls.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            request.addHeader("X-Forwarded-For", "203.0.113.50, 70.41.3.18, 150.172.238.178");
            assertEquals("203.0.113.50", rateLimitHelper.getClientIp(request));
        }
    
        @Test
        public void test_getClientIp_xRealIp_trustedProxy() {
            // 127.0.0.1 is configured as a trusted proxy by default
            final MockletHttpServletRequest request = getMockRequest();
            request.setRemoteAddr("127.0.0.1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs_src/custom_request_and_route/tutorial002_py310.py

    from fastapi import Body, FastAPI, HTTPException, Request, Response
    from fastapi.exceptions import RequestValidationError
    from fastapi.routing import APIRoute
    
    
    class ValidationErrorLoggingRoute(APIRoute):
        def get_route_handler(self) -> Callable:
            original_route_handler = super().get_route_handler()
    
            async def custom_route_handler(request: Request) -> Response:
                try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 935 bytes
    - Click Count (0)
  5. fastapi/security/api_key.py

            )
    
        async def __call__(self, request: Request) -> str | None:
            api_key = request.query_params.get(self.model.name)
            return self.check_api_key(api_key)
    
    
    class APIKeyHeader(APIKeyBase):
        """
        API key authentication using a header.
    
        This defines the name of the header that should be provided in the request with
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

            return ROLE;
        }
    
        /**
         * Displays the search request management index page.
         *
         * @return HTML response for the search request page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index() {
            return asListHtml(this::saveToken);
        }
    
        /**
         * Processes uploaded search request files and executes them against the search engine.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. .github/pull_request_template.md

    -->
    
    Following this checklist to help us incorporate your
    contribution quickly and easily:
    
    - [ ] Your pull request should address just one issue, without pulling in other changes.
    - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
    - [ ] Each commit in the pull request should have a meaningful subject line and body.
      Note that commits might be squashed by a maintainer on merge.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 01 17:30:11 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  8. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          val request =
            request()
              .withPath("/person")
              .withQueryStringParameter("name", "peter")
    
          mockServerClient
            .`when`(
              request,
            ).respond(response().withBody("Peter the person!"))
    
          function(mockServerClient)
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  9. src/main/java/org/codelibs/curl/Curl.java

         * @return a new CurlRequest object configured with the PUT method and the specified URL
         */
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        /**
         * Creates a new CurlRequest with the DELETE method for the specified URL.
         *
         * @param url the URL to which the DELETE request will be sent
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        val call1 = localClient.newCall(Request(server.url("/")))
    
        call1.execute().use { response ->
          assertThat(response.body.string()).isEqualTo("Req1")
          assertThat(response.handshake).isNotNull()
          assertThat(response.protocol == Protocol.HTTP_1_1)
        }
    
        eventListener.closed = true
    
        val call2 = localClient.newCall(Request(server.url("/")))
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 11:54:15 GMT 2026
    - 10.7K bytes
    - Click Count (0)
Back to Top