- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for origens (0.09 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/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) -
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) -
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) -
docs/es/llm-prompt.md
* tip: Consejo (do not translate to "tip") * check: Revisa (do not translate to "chequea" or "comprobación) * Cross-Origin Resource Sharing: Cross-Origin Resource Sharing (do not translate to "Compartición de Recursos de Origen Cruzado") * Release Notes: Release Notes (do not translate to "Notas de la Versión") * Semantic Versioning: Semantic Versioning (do not translate to "Versionado Semántico")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 18:57:50 UTC 2025 - 5.3K 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) -
src/main/java/org/codelibs/fess/cors/CorsHandler.java
/** * Processes the CORS request by setting appropriate headers. * * @param origin the origin of the request * @param request the servlet request * @param response the servlet response */ public abstract void process(String origin, ServletRequest request, ServletResponse response);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
final String origin = httpRequest.getHeader("Origin"); if (StringUtil.isNotBlank(origin)) { if (logger.isDebugEnabled()) { logger.debug("HTTP Request: {}", httpRequest.getMethod()); } final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final CorsHandler handler = factory.get(origin); if (handler != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) -
cmd/iam.go
} } } } // Replacing origKeys[0] with normKey in the policyMap // len(origKeys) is always > 0, so here len(origKeys) == 1 mappingValue := policyMap[origKeys[0]] delete(policyMap, origKeys[0]) policyMap[normKey] = mappingValue iamLogEvent(ctx, "import-ldap-normalize: normalized LDAP DN mapping from `%s` to `%s`", origKeys[0], normKey)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0)