No project description provided
Project description
Fast Header
HTTP Header Encoder & Decoder for Python
Install
pip install fast-header
Usage
cache control
from fast_header import CacheControl
cc = CacheControl(max_stale=True)
assert cc.max_stale
assert str(cc) == "max_stable"
cc = CacheControl.parse("max_stable")
etag
from fast_header import ETag
setag = ETag(value="a") # strong etag
wetag = ETag(value="a", weak=True) # weak etag
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
fast_header-0.1.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for fast_header-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e320ca7044d703f65dd15e51312dc4a83aebfa9bcd503fa50722b9ef8cedb021 |
|
MD5 | 242c2b6eb454754eb10517132a995edc |
|
BLAKE2b-256 | 7a2596438ad40b7678745a6b509c8a703d5bd760765be181b985f88caf17ccbc |