summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS.txt2
-rw-r--r--pyramid/config/routes.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index a28240adf..a56821e74 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -324,3 +324,5 @@ Contributors
- Alex Gaynor, 2018/05/24
- Jason Williams, 2018/06/11
+
+- Benjamin Gmurczyk, 2018/06/14
diff --git a/pyramid/config/routes.py b/pyramid/config/routes.py
index b00886e5d..20fdb2b5d 100644
--- a/pyramid/config/routes.py
+++ b/pyramid/config/routes.py
@@ -198,9 +198,9 @@ class RoutesConfiguratorMixin(object):
request_param
- This value can be any string. A view declaration with this
- argument ensures that the associated route will only match
- when the request has a key in the ``request.params``
+ This value can be any string or an iterable of strings. A view
+ declaration with this argument ensures that the associated route will
+ only match when the request has a key in the ``request.params``
dictionary (an HTTP ``GET`` or ``POST`` variable) that has a
name which matches the supplied value. If the value
supplied as the argument has a ``=`` sign in it,