Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 656 for origins (0.14 sec)

  1. docs/en/docs/tutorial/cors.md

    # CORS (Cross-Origin Resource Sharing) { #cors-cross-origin-resource-sharing }
    
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">CORS or "Cross-Origin Resource Sharing"</a> refers to the situations when a frontend running in a browser has JavaScript code that communicates with a backend, and the backend is in a different "origin" than the frontend.
    
    ## Origin { #origin }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java

         * Headers include allowed origin, methods, headers, max age, and credentials setting.
         *
         * @param origin the origin of the request
         * @param request the servlet request
         * @param response the servlet response to add CORS headers to
         */
        @Override
        public void process(final String origin, final ServletRequest request, final ServletResponse response) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/cors/CorsHandlerFactory.java

            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", origin);
            }
            handerMap.put(origin, handler);
        }
    
        /**
         * Gets the CORS handler for the specified origin.
         * If no specific handler is found, returns the wildcard handler.
         *
         * @param origin the origin to look up
         * @return the CORS handler for the origin, or null if none found
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                corsHandler.process(origin, request, response);
    
                assertTrue("process should be called for origin: " + origin, processCalled);
                assertEquals(origin, processOrigin);
    
                List<String> originHeaders = responseHeaders.get("Access-Control-Allow-Origin");
                assertNotNull("Headers should be set for origin: " + origin, originHeaders);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

            // Execute
            corsHandlerFactory.add(origin1, handler1);
            corsHandlerFactory.add(origin2, handler2);
            corsHandlerFactory.add(origin3, handler3);
    
            // Verify
            assertEquals(handler1, corsHandlerFactory.get(origin1));
            assertEquals(handler2, corsHandlerFactory.get(origin2));
            assertEquals(handler3, corsHandlerFactory.get(origin3));
        }
    
        public void test_get_wildcardOrigin() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

        }
    
        // Test with different origin formats
        public void test_doFilter_differentOrigins() throws Exception {
            String[] origins = { "http://localhost:8080", "https://example.com", "http://subdomain.example.com", "https://example.com:3000" };
    
            for (String origin : origins) {
                setUp(); // Reset for each test
                mockRequest.setHeader("Origin", origin);
                mockRequest.setMethod("GET");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/cors.md

    # CORS (Cross-Origin Resource Sharing)
    
    <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">Понятие CORS или "Cross-Origin Resource Sharing"</a> относится к ситуациям, при которых запущенный в браузере фронтенд содержит JavaScript-код, который взаимодействует с бэкендом, находящимся на другом "источнике" ("origin").
    
    ## Источник
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/cors.md

    * `max_age` - 브라우저가 CORS 응답을 캐시에 저장하는 최대 시간을 초 단위로 설정합니다. 기본값은 `600` 입니다.
    
    미들웨어는 두가지 특정한 종류의 HTTP 요청에 응답합니다...
    
    ### CORS 사전 요청
    
    `Origin` 및 `Access-Control-Request-Method` 헤더와 함께 전송하는 모든 `OPTIONS` 요청입니다.
    
    이 경우 미들웨어는 들어오는 요청을 가로채 적절한 CORS 헤더와, 정보 제공을 위한 `200` 또는 `400` 응답으로 응답합니다.
    
    ### 단순한 요청
    
    `Origin` 헤더를 가진 모든 요청. 이 경우 미들웨어는 요청을 정상적으로 전달하지만, 적절한 CORS 헤더를 응답에 포함시킵니다.
    
    ## 더 많은 정보
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. docs/config/README.md

    cluster_deadline                (duration)  set the deadline for cluster readiness check (default: '10s')
    cors_allow_origin               (csv)       set comma separated list of origins allowed for CORS requests (default: '*')
    remote_transport_deadline       (duration)  set the deadline for API requests on remote transports while proxying between federated instances e.g. "2h" (default: '2h')
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  10. src/main/resources/fess_config.properties

    api.dashboard.response.headers=Referrer-Policy:strict-origin-when-cross-origin
    # Allowed origins for CORS.
    api.cors.allow.origin=*
    # Allowed HTTP methods for CORS.
    api.cors.allow.methods=GET, POST, OPTIONS, DELETE, PUT
    # Max age for CORS preflight requests.
    api.cors.max.age=3600
    # Allowed headers for CORS.
    api.cors.allow.headers=Origin, Content-Type, Accept, Authorization, X-Requested-With
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
Back to top