dsShelfCorsApplyActual function
Applies CORS headers to a non-OPTIONS response
using the given origin
.
Implementation
Response dsShelfCorsApplyActual(Response response, String origin) {
return response.change(headers: _buildActualHeaders(origin));
}