Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for cors (0.15 sec)

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

    ## More info { #more-info }
    
    For more info about <abbr title="Cross-Origin Resource Sharing">CORS</abbr>, check the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" class="external-link" target="_blank">Mozilla CORS documentation</a>.
    
    /// note | Technical Details
    
    You could also use `from starlette.middleware.cors import CORSMiddleware`.
    
    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. docs/en/docs/advanced/response-headers.md

    have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations (read more in [CORS (Cross-Origin Resource Sharing)](../tutorial/cors.md){.internal-link target=_blank}), using the parameter `expose_headers` documented in <a href="https://www.starlette.io/middleware/#corsmiddleware" class="external-link" target="_blank">Starlette's CORS docs</a>....
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/middleware.md

    In the main tutorial you read how to add [Custom Middleware](../tutorial/middleware.md){.internal-link target=_blank} to your application.
    
    And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}.
    
    In this section we'll see how to use other middlewares.
    
    ## Adding ASGI middlewares { #adding-asgi-middlewares }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/middleware.md

    But if you have custom headers that you want a client in a browser to be able to see, you need to add them to your CORS configurations ([CORS (Cross-Origin Resource Sharing)](cors.md){.internal-link target=_blank}) using the parameter `expose_headers` documented in <a href="https://www.starlette.io/middleware/#corsmiddleware" class="external-link" target="_blank">Starlette's CORS docs</a>.
    
    ///
    
    /// note | Technical Details
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            // create ES nodes
            final String clusterName = UUID.randomUUID().toString();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("http.cors.allow-origin", "*");
                settingsBuilder.put("discovery.type", "single-node");
            }).build(newConfigs().clusterName(clusterName).numOfNode(1));
    
            // wait for yellow status
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/cors/DefaultCorsHandlerTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.cors;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DefaultCorsHandlerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.filter;
    
    import java.io.IOException;
    
    import org.codelibs.fess.cors.CorsHandler;
    import org.codelibs.fess.cors.CorsHandlerFactory;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.servlet.FilterChain;
    import jakarta.servlet.ServletException;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.cors;
    
    import java.lang.reflect.Field;
    import java.lang.reflect.Modifier;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import jakarta.servlet.ServletRequest;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.cors;
    
    import jakarta.servlet.ServletRequest;
    import jakarta.servlet.ServletResponse;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class CorsHandlerFactoryTest extends UnitFessTestCase {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("discovery.type", "single-node");
            })
                    .build(newConfigs().clusterName("AnalyzerConverterTest")
                            .numOfNode(1)
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top