Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 2,539 for Request (0.05 seconds)

  1. docs_src/handling_errors/tutorial003_py310.py

    from fastapi import FastAPI, Request
    from fastapi.responses import JSONResponse
    
    
    class UnicornException(Exception):
        def __init__(self, name: str):
            self.name = name
    
    
    app = FastAPI()
    
    
    @app.exception_handler(UnicornException)
    async def unicorn_exception_handler(request: Request, exc: UnicornException):
        return JSONResponse(
            status_code=418,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 626 bytes
    - Click Count (0)
  2. internal/grid/README.md

    It uses a single two-way connection to send and receive messages between servers.
    
    It includes built in muxing of concurrent requests as well as congestion handling for streams.
    
    Requests can be "Single Payload" or "Streamed".
    
    Use the MinIO Grid for:
    
    * Small, frequent requests with low latency requirements.
    * Long-running requests with small/medium payloads.
    
    Do *not* use the MinIO Grid for:
    
    * Large payloads.
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

      @Test
      fun simpleDispatch() {
        val requestsMade = mutableListOf<RecordedRequest>()
        val dispatcher: Dispatcher =
          object : Dispatcher() {
            override fun dispatch(request: RecordedRequest): MockResponse {
              requestsMade.add(request)
              return MockResponse()
            }
          }
        assertThat(requestsMade.size).isEqualTo(0)
        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

            /**
             * Sets the URL for this request data.
             *
             * @param url the URL string to be set
             * @return the current RequestDataContext instance for method chaining
             */
            public RequestDataContext url(final String url) {
                data.setUrl(url);
                return this;
            }
    
            /**
             * Sets the weight for the request data.
             *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

    import jakarta.servlet.ServletContext;
    import jakarta.servlet.ServletException;
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * The handler of multipart request (fileupload request). <br>
     * This instance is created per one multipart request.
     * @author modified by jflute (originated in Seasar)
     */
    public class FessMultipartRequestHandler implements MultipartRequestHandler {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelUrlNormalizer.java

         *
         * @param model The model whose URLs should be normalized, may be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         */
        void normalize(Model model, ModelBuildingRequest request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

                throws Exception {
            MavenExecutionRequest request = createMavenExecutionRequest(pom);
    
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest()
                    .setLocalRepository(request.getLocalRepository())
                    .setRemoteRepositories(request.getRemoteRepositories())
                    .setPluginArtifactRepositories(request.getPluginArtifactRepositories())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

        }
    
        @Test
        public void testIsValid() {
            SmbNegotiationRequest request = mock(SmbNegotiationRequest.class);
            when(request.isSigningEnforced()).thenReturn(true);
            response.getServerData().signaturesEnabled = true;
    
            assertTrue(response.isValid(mockContext, request));
            assertTrue(response.isSigningNegotiated());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecrypter.java

        /**
         * Decrypts passwords in the settings.
         *
         * @param request The settings decryption request that holds the parameters, must not be {@code null}.
         * @return The result of the settings decryption, never {@code null}.
         */
        SettingsDecryptionResult decrypt(SettingsDecryptionRequest request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

        private MavenExecutionRequest populateFromSettings(MavenExecutionRequest request, Settings settings)
                throws MavenExecutionRequestPopulationException {
            if (settings == null) {
                return request;
            }
    
            request.setOffline(settings.isOffline());
    
            request.setInteractiveMode(settings.isInteractiveMode());
    
            request.setPluginGroups(settings.getPluginGroups());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 19 18:49:57 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top