I have implemented CORS on my Google App Engine Python app with this code:
approved_origin = 'https://example.com'
self.response.headers.add_header('Access-Control-Allow-Origin', approved_origin)
The problem is that I could like to allow more than one approved origin, and would like to allow both http and https.
Does anyone know if this can be done, and if so, what is the syntax? I do not want to allow all origins with '*'.