exposeHeaders

@JvmName(name = "peafbjwsspcwecvm")
suspend fun exposeHeaders(value: Output<List<String>>)
@JvmName(name = "jsmywcrrrweocefy")
suspend fun exposeHeaders(value: List<String>?)

Parameters

value

Specifies the headers that can be exposed back, and accessed by, the JavaScript making the cross-origin request. If you need to access headers beyond the safelisted response headers, such as Content-Encoding or cf-cache-status, you must specify it here.


@JvmName(name = "ikexkybkngwacvkx")
suspend fun exposeHeaders(vararg values: Output<String>)


@JvmName(name = "nwelrugnglwsgplj")
suspend fun exposeHeaders(values: List<Output<String>>)
@JvmName(name = "dtmdlwynmeynmyyi")
suspend fun exposeHeaders(vararg values: String)

Parameters

values

Specifies the headers that can be exposed back, and accessed by, the JavaScript making the cross-origin request. If you need to access headers beyond the safelisted response headers, such as Content-Encoding or cf-cache-status, you must specify it here.