class documentation
class ETags(Collection): (source)
A set that can be used to check if one etag is present in a collection of etags.
Method | __bool__ |
Undocumented |
Method | __call__ |
Undocumented |
Method | __contains__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | as |
Convert the `ETags` object into a python set. Per default all the weak etags are not part of this set. |
Method | contains |
Check if an etag is part of the set ignoring weak tags. It is also possible to use the ``in`` operator. |
Method | contains |
When passed a quoted tag it will check if this tag is part of the set. If the tag is weak it is checked against weak and strong tags, otherwise strong only. |
Method | contains |
Check if an etag is part of the set including weak and strong tags. |
Method | is |
Check if an etag is strong. |
Method | is |
Check if an etag is weak. |
Method | to |
Convert the etags set into a HTTP header string. |
Instance Variable | star |
Undocumented |
Instance Variable | _strong |
Undocumented |
Instance Variable | _weak |
Undocumented |
Convert the `ETags` object into a python set. Per default all the weak etags are not part of this set.
Check if an etag is part of the set ignoring weak tags. It is also possible to use the ``in`` operator.
When passed a quoted tag it will check if this tag is part of the set. If the tag is weak it is checked against weak and strong tags, otherwise strong only.