get env from flask request