diff options
author | cce <devnull@localhost> | 2005-12-31 06:57:42 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-31 06:57:42 +0000 |
commit | 98f2eef2897f1670bf5540e6199724aaf56ea5b4 (patch) | |
tree | 9543b1dad43f0772829ed8a2748ca6b2f8f6530e /paste/httpheaders.py | |
parent | 59ba5ee40b7da9f406a29f558ec21878dbf291b3 (diff) | |
download | paste-98f2eef2897f1670bf5540e6199724aaf56ea5b4.tar.gz |
- cleaned up documentation for paste.auth.cookie
- cleaned up documentation for paste.auth.form
- cleaned up documentation for paste.auth.basic
- converted InternalServerError into its own class (httpexceptions)
- converted BadRequest into its own class (httpexceptions)
- a few minor cleanups
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r-- | paste/httpheaders.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py index 2688558..2f8cf90 100644 --- a/paste/httpheaders.py +++ b/paste/httpheaders.py @@ -140,7 +140,7 @@ from httpexceptions import HTTPBadRequest __all__ = ['get_header', 'list_headers', 'normalize_headers', 'HTTPHeader', # additionally, all header instance objects are exported - '_CacheControl', '_ContentDisposition', '_Range' # for docos +# '_CacheControl', '_ContentDisposition', '_Range' for docos ] _headers = {} @@ -985,12 +985,13 @@ for (name, category, version, style, comment) in \ 'date-header': _DateHeader, 'singular' : _SingleValueHeader}[style] klass(name,category,comment,version).__doc__ = comment + del klass for head in _headers.values(): headname = head.name.replace("-","_").upper() locals()[headname] = head __all__.append(headname) - + __pudge_all__ = __all__[:] for _name, _obj in globals().items(): if isinstance(_obj, type) and issubclass(_obj, HTTPHeader): |