cachecontrol

Represents the Cache-Control header


Attributes

a need_quote_re

<_sre.SRE_Pattern object at 0x8532608>

a token_re

<_sre.SRE_Pattern object at 0x850ed20>

Functions

f serialize_cache_control(properties) ...

Classes

C exists_property(...) ...

Represents a property that either is listed in the Cache-Control header, or is not listed (has no value)

This class contains 4 members.

C value_property(...) ...

Represents a property that has a value in the Cache-Control header.

When no value is actually given, the value of self.none is returned.

This class contains 4 members.

C CacheControl(...) ...

Represents the Cache-Control header.

By giving a type of 'request' or 'response' you can control what attributes are allowed (some Cache-Control values only apply to requests or responses).

This class contains 16 members.

See the source for more information.