- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for origin (0.03 sec)
-
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) -
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) -
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) -
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) -
.github/workflows/upgrade-to-latest-wrapper.yml
git reset origin/master --hard ./gradlew wrapper --gradle-version=nightly ./gradlew wrapper if ! git diff --quiet; then ./gradlew -v VERSION=$(./gradlew -v | grep "Gradle" | cut -d' ' -f2) git add . git commit -m "Update Gradle wrapper to $VERSION" git push --force origin devprod/upgrade-to-latest-wrapperRegistered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Aug 21 23:08:02 UTC 2025 - 1.3K bytes - Viewed (0) -
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>.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
cmd/generic-handlers.go
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if origin := w.Header().Get("Access-Control-Allow-Origin"); origin == "null" { // This is a workaround change to ensure that "Origin: null" // incoming request to a response back as "*" instead of "null" w.Header().Set("Access-Control-Allow-Origin", "*") } if globalDNSConfig == nil || !globalBucketFederation ||
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
.github/workflows/release-branch-cherrypick.yml
id: cherrypick run: | git config --global user.name "TensorFlow Release Automation" git config --global user.email "******@****.***" git fetch origin master git cherry-pick ${{ github.event.inputs.git_commit }} echo "SHORTSHA=$(git log -1 ${{ github.event.inputs.git_commit }} --format="%h")" >> "$GITHUB_OUTPUT"Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Sep 01 15:40:11 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
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 runner.ensureYellow();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
docs/en/docs/advanced/response-headers.md
P/Headers" class="external-link" target="_blank">using the 'X-' prefix</a>. 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 (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)