How to get info http headers in Flask?

from flask import request

request.headers.get('your-header-name')

Or

request.headers['your-header-name']