diff options
author | pjenvey <devnull@localhost> | 2006-07-20 00:05:41 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2006-07-20 00:05:41 +0000 |
commit | db280487d5203e6dc3a02985b8d02bb5b0ec30ff (patch) | |
tree | 3e63033a061d0e9bf84a53a36564641872f90ea3 | |
parent | 288244f4efa7acd9686b35e6e45410b286977d20 (diff) | |
download | paste-db280487d5203e6dc3a02985b8d02bb5b0ec30ff.tar.gz |
having WSGIResponse.params return a multidict
-rw-r--r-- | paste/wsgiwrappers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/wsgiwrappers.py b/paste/wsgiwrappers.py index 4b62375..79be674 100644 --- a/paste/wsgiwrappers.py +++ b/paste/wsgiwrappers.py @@ -91,7 +91,7 @@ class WSGIRequest(object): POST = property(POST, doc=POST.__doc__) def params(self): - """MultiDict of keys from POST, GET, URL dicts + """multidict of keys from POST, GET, URL dicts Return a key value from the parameters, they are checked in the following order: POST, GET, URL @@ -102,7 +102,7 @@ class WSGIRequest(object): Returns a list of all the values by that key, collected from POST, GET, URL dicts """ - pms = MultiDict() + pms = multidict() pms.update(self.POST) pms.update(self.GET) return pms |