☰
Debian Codegraph
@
2.24.0-1
/
/
docs
/
examples
/
datastructures
/
headers
/
etag_parsing.py
☽
☼
docs/examples/datastructures/headers/etag_parsing.py
code
plain
raw
Expat
Alc <
[email protected]
>,; Cody Fincher <
[email protected]
>,; Jacob Coffee <
[email protected]
>,; Janek Nouvertné <
[email protected]
>,; Litestar Developers <
[email protected]
>,; Peter Schutt <
[email protected]
>,; Visakh Unnikrishnan <
[email protected]
>,
debian/copyright
1
from litestar.datastructures import ETag
2
3
assert ETag.from_header('"foo"') == ETag(value="foo")
4
assert ETag.from_header('W/"foo"') == ETag(value="foo", weak=True)