Skip to main content

Request header helpers for Vercel Python applications

Project description

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.

Project details


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.6.0.tar.gz (3.0 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.6.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vercel_headers-0.6.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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.6.0.tar.gz
Algorithm Hash digest
SHA256 77794510ea746c7ee086c85490028bf084a7fc924ab46cc1d746eb89040fbba7
MD5 f2048ae5c481842740b63bc7857df31b
BLAKE2b-256 4e2ed18dbc7b32a309daf6494a5d51d5a1ddfce9cc702600a852eb671cc21802

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vercel_headers-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d16c97626ef669b8c036898b08b43efa689b63aa66f187c14f52584793f87a51
MD5 22c0869ca0782c23686e20d6a6e67ebd
BLAKE2b-256 dbfa7fd5641c2cdbccee9538eb64eabb587ebcad2332307542a28f506f79a2c9

See more details on using hashes here.

Supported by

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