summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-06-15 01:02:02 -0500
committerMichael Merickel <michael@merickel.org>2018-06-15 01:02:02 -0500
commitba301542b56d2ffd856faaffe8036262258e8f30 (patch)
treee191cfc96f35fd3d5a39b2df57fbbb18971e5193
parentc622cdb279948c61f63e7d2a51d10b967292cf4b (diff)
parentf1b72ca6c23ea299f5245a0c299b31e52beae365 (diff)
downloadpyramid-ba301542b56d2ffd856faaffe8036262258e8f30.tar.gz
pyramid-ba301542b56d2ffd856faaffe8036262258e8f30.tar.bz2
pyramid-ba301542b56d2ffd856faaffe8036262258e8f30.zip
Merge branch 'pr/3303'
-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,