Skip to main content

Headers

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vercel_headers-0.7.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vercel_headers-0.7.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file vercel_headers-0.7.0.tar.gz.

File metadata

  • Download URL: vercel_headers-0.7.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vercel_headers-0.7.0.tar.gz
Algorithm Hash digest
SHA256 6bf37cd3d06f00f8b8650766da016c1ba08927d09a11cf1babb34fcead3d04cb
MD5 84f0527a31284fdda2b147adf203d414
BLAKE2b-256 86f404c9a608c9f5b4308020ec87850916b331595678294de0e3b4bea0a83020

See more details on using hashes here.

File details

Details for the file vercel_headers-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: vercel_headers-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for vercel_headers-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39bc00801d3618ef27ff9d5cf3ff526778d90e6ab900205aa584070fce33f7ce
MD5 6a4dd43812d291628a0aee6948dd662d
BLAKE2b-256 0ea8db8e2272adde7655d603c20c96c313ef7409fdcf8b2d1bd30c9f3293dd14

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.1

2 files

This release

0.7.0 This release

2 files

0.6.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page