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.1.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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vercel_headers-0.7.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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.1.tar.gz
Algorithm Hash digest
SHA256 46e63a99a3095f3b4fa324c80e5aeee5886ca474ef5ecbfe6eabb5f2bd64928a
MD5 2d0715e42b73f6958aab7f4dd6d10cf8
BLAKE2b-256 20502fbe5563b1f710c5cec3076efe94df887dd89c7ce0f4238b81f169f5d733

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vercel_headers-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ef65f0baffdf19775b693265d6118e125251456fb192324f4006dd341c77abc
MD5 60ffc9e19c61e95e7a4aed0085376e29
BLAKE2b-256 28b85484e7ecf876c031831623efc547edcf94e2e33db4251d17c2d117c18cb0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 files

0.7.0

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