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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page