Request header helpers for Vercel Python applications
Actively maintained. Last release 2 weeks ago. A safe choice.
$
pip install vercel-headersHeaders
vercel.headers stores request headers for Vercel Function helpers and exposes
IP address and geolocation helpers.
Register request headers once per request:
from vercel.headers import set_headers
set_headers(request.headers)
OIDC and cache helpers read the same registered header context.