summaryrefslogtreecommitdiff
path: root/webob/cachecontrol.py
Commit message (Collapse)AuthorAgeFilesLines
* Support stale-while-revalidate and stale-if-errorDonald Stufft2015-03-281-0/+3
|
* Fixes PEP8 warningsZhongyue Luo2012-12-281-1/+0
|
* line lengthsChris McDonough2011-09-211-2/+4
|
* fix UpdateDict.pop() (did not support any arguments) and .setdefault() (was ↵Sergey Schetinin2011-03-221-6/+8
| | | | not returning anything) [from pycon2011 sprint w/ edits]
* make CacheControl usage of UpdateDict overridable via ↵Sergey Schetinin2011-03-221-2/+3
| | | | CacheControl.update_dict [from pycon2011 sprint]
* wrap lines to mostly conform to PEP-8, add pragma comments where necessary, ↵Sergey Schetinin2011-03-221-2/+22
| | | | small docstring edits [from pycon2011 sprint]
* webob requires python 2.4+ since 418:5621426aecc0, drop compat modules and ↵Sergey Schetinin2010-10-011-5/+1
| | | | use decorators where appropriate
* * merge headersdict and datastruct modules into new module webob.headersSergey Schetinin2010-08-111-6/+45
| | | | | | | * rename HeadersDict to ResponseHeaders * merge updatedict module into cachecontrol * merge webob.util.reversed and webob.compat modules into webob.util.__init__ * make DictMixin, reversed and sorted importable directly from webob.util
* added in sorted for python2.3 compatibility, from Bryan O'SullivanIan Bicking2008-05-051-0/+4
|
* Fix __del__ names to be __delete__ (noticed by Sergey SchetininIan Bicking2008-02-181-2/+2
|
* fix case where either a CacheControl or properties value can go to ↵Ian Bicking2007-09-191-0/+2
| | | | serialize_cache_control
* Fixes to cache-control: read properties properly, serialize to header properlyIan Bicking2007-08-201-10/+16
|
* Set default of cache_control.max_age to -1; check Request.environ type; fix ↵Ian Bicking2007-08-161-1/+1
| | | | example in file-example.txt; add Request.cache_control
* docstring updatesIan Bicking2007-08-161-4/+34
|
* Added a cache_expires method. Don't create CacheControl objects when it ↵Ian Bicking2007-08-091-0/+2
| | | | isn't necessary. Handle timedeltas in any date-related function (considering them relative to now). Allow cache_control.private = True. Add constants for different kinds of time, so you can multiply and add them to create timedelta objects
* Continue renameIan Bicking2007-08-081-1/+1
|
* renameIan Bicking2007-08-081-0/+125