Dapatkan permintaan header permintaan
from flask import request
request.headers.get('your-header-name')
Brave Barracuda
from flask import request
request.headers.get('your-header-name')
from flask import request
import sys #for printing in log console
print(request.headers, file=sys.stderr)