spring-framework / org.springframework.web.reactive.config / CorsRegistration / exposedHeaders

exposedHeaders

open fun exposedHeaders(vararg headers: String): CorsRegistration

Set the list of response headers other than "simple" headers, i.e. Cache-Control, Content-Language, Content-Type, Expires, Last-Modified, or Pragma, that an actual response might have and can be exposed.

Note that "*" is not supported on this property.

By default this is not set.