Browse Source

Refine CORS documentation to match latest changes

Closes gh-36156
pull/36178/head
Sébastien Deleuze 2 weeks ago
parent
commit
3f01830d11
  1. 6
      framework-docs/modules/ROOT/pages/web/webflux-cors.adoc
  2. 6
      framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc

6
framework-docs/modules/ROOT/pages/web/webflux-cors.adoc

@ -39,9 +39,9 @@ required CORS response headers set. @@ -39,9 +39,9 @@ required CORS response headers set.
In order to enable cross-origin requests (that is, the `Origin` header is present and
differs from the host of the request), you need to have some explicitly declared CORS
configuration. If no matching CORS configuration is found, preflight requests are
rejected. No CORS headers are added to the responses of simple and actual CORS requests
and, consequently, browsers reject them.
configuration. If no matching CORS configuration is found, no CORS headers are added to
the responses to preflight, simple and actual CORS requests and, consequently, browsers
reject them.
Each `HandlerMapping` can be
{spring-framework-api}/web/reactive/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured]

6
framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc

@ -66,9 +66,9 @@ required CORS response headers set. @@ -66,9 +66,9 @@ required CORS response headers set.
In order to enable cross-origin requests (that is, the `Origin` header is present and
differs from the host of the request), you need to have some explicitly declared CORS
configuration. If no matching CORS configuration is found, preflight requests are
rejected. No CORS headers are added to the responses of simple and actual CORS requests
and, consequently, browsers reject them.
configuration. If no matching CORS configuration is found, no CORS headers are added to
the responses to preflight, simple and actual CORS requests and, consequently, browsers
reject them.
Each `HandlerMapping` can be
{spring-framework-api}/web/servlet/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured]

Loading…
Cancel
Save