diff options
author | ianb <devnull@localhost> | 2006-03-01 21:14:47 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2006-03-01 21:14:47 +0000 |
commit | e61081c16e95cd2e4374db4cf34b836f3aba90fa (patch) | |
tree | fae6409502b49a67c5ac1f17ba47089644fb7cdd /paste/httpheaders.py | |
parent | da645429ef483a2c2fb2240ade5ff0856fcd581f (diff) | |
download | paste-e61081c16e95cd2e4374db4cf34b836f3aba90fa.tar.gz |
Fixed docstring; removed method that was doubly-defined (I think I deleted the right version?)
Diffstat (limited to 'paste/httpheaders.py')
-rw-r--r-- | paste/httpheaders.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/paste/httpheaders.py b/paste/httpheaders.py index 092d7d8..d3c3e19 100644 --- a/paste/httpheaders.py +++ b/paste/httpheaders.py @@ -428,19 +428,6 @@ class HTTPHeader(object): assert len(values) == 1, "more than one value: %s" % repr(values) return str(values[0]).strip() - def __call__(self, *args, **kwargs): - """ - converts ``values()`` into a string value - - This method converts the results of ``values()`` into a string - value for common usage. If more than one result are found; they - are comma delimited as described by section 4.2 of RFC 2616. - """ - results = self.values(*args, **kwargs) - if not results: - return '' - return ", ".join([str(v).strip() for v in results]) - def delete(self, collection): """ removes all occurances of the header from the collection provided @@ -654,8 +641,8 @@ class _CacheControl(_MultiValueHeader): ``no_cache`` if True, this argument specifies that the response, as a - whole, may be cashed; this implementation does not support - the enumeration of private fields + whole, may not be cashed; this implementation does not + support the enumeration of private fields In general, only one of the above three may be True, the other 2 must then be False or None. If all three are None, then the cache |