The CacheControl class is accessible via the webob.cachecontrol module.
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).
Parse the header, returning a CacheControl object.
The object is bound to the request or response object updates_to, if that is given.
See the source for more information.