I\'d like to make a response with the \"Access-Control-Allow-Origin\" header been set all by myself, while it\'s seems messing up to figure out where the \"HTTP_ORIGIN\" paramet
This will get you the answer
from flask import request ... if request.environ['HTTP_ORIGIN'] is not None: print request.environ['HTTP_ORIGIN']