Skip to main content

Parse, validate and format HTTP headers lazily

Project description

HLH is an abstraction over raw HTTP headers, providing:

  • Lazy decoding, parsing and validation of input headers

  • Eager validation and lazy formatting of output headers

  • Methods and helpers for common operations

  • A headers collection on top of OrderedDict for fast lookups

  • WSGI support

  • A pure Python implementation without using regex!

  • A sane API

  • A way out of messy strings manipulation and typos

Specs support: rfc7230, rfc7231, rfc7232, rfc7233, rfc7234, rfc7235 rfc6265, rfc3986, rfc5646, rfc6266, rfc1034, rfc5234

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

http-lazy-headers-0.1.dev0.tar.gz (42.8 kB view details)

Uploaded Source

File details

Details for the file http-lazy-headers-0.1.dev0.tar.gz.

File metadata

File hashes

Hashes for http-lazy-headers-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 e547ba2af32aaba7211e581bbcc209a4c8a8ce990a9ac44b14af6c03effc4904
MD5 63ccfa70b5b016183b5ec61dd627ef65
BLAKE2b-256 be2d39bba028a6734bba4b0fe52dcf043e2d18e7c0527c2a0f6982235ee2f346

See more details on using hashes here.

Supported by

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