I am using Flask to generate REST API.
I want to check authorization header which is sent by mobile apps.
I am using below code
from flask import request
cookie_data = request.headers.get('auth_token')
It is working on local machine, but when i host it on server it is not working, when i debug it gives null value. The difference is, on my local machine flask version = 0.10.1 python =2.7.8 on server flask = 0.10.1, python= 2.6.9