summaryrefslogtreecommitdiff
path: root/paste/request.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-06-20 22:32:10 +0000
committerpjenvey <devnull@localhost>2006-06-20 22:32:10 +0000
commita939f4810714fab3cc2d7ede2f95a3aace5477e1 (patch)
tree7327da7980132b02adc0f4a5b3d49fc38d2cea9a /paste/request.py
parent7b4ec16c7fae42b60a0962a5931e9a0f000d7176 (diff)
downloadpaste-a939f4810714fab3cc2d7ede2f95a3aace5477e1.tar.gz
made MultiDict iterable
Diffstat (limited to 'paste/request.py')
-rw-r--r--paste/request.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/request.py b/paste/request.py
index 40c50d6..81165e9 100644
--- a/paste/request.py
+++ b/paste/request.py
@@ -21,14 +21,14 @@ import cgi
import textwrap
from Cookie import SimpleCookie
import urlparse
-from util.UserDict24 import UserDict, DictMixin
+from util.UserDict24 import DictMixin, IterableUserDict, UserDict
__all__ = ['get_cookies', 'get_cookie_dict', 'parse_querystring',
'parse_formvars', 'construct_url', 'path_info_split',
'path_info_pop', 'resolve_relative_url', 'EnvironHeaders']
-class MultiDict(UserDict):
+class MultiDict(IterableUserDict):
"""Acts as a normal dict, but assumes all values are lists, and
retrieving an item retrieves the first value in the list. getlist
retrieves the full list"""