How to handle and set CORS in TMS Webcore client ?

https://stackoverflow.com/questions/50065875/how-to-enable-cors-in-python