Thanks for the clarification, and your very prompt reply.
For anyone following along, I've shown the correction to my example
below.
Michael; your article shows practical use of match_param beautifully:
http://michael.merickel.org/2011/8/23/outgrowing-pyramid-handlers/
I agree the Pyramid manual
match_param is for matching items in the matchdict. These are patterns in
your url, for example if you had the url "/match/{param}", then you might
use match_param='param=edit' to only match when that pattern is edit.
request_param is used to match the query string in your url (things after
the ?-
Could anyone explain why the below test for request_param works ok,
but the test for match_param does not?
MATCH - http://127.0.0.1:8080/request_param?action=anything
NO MATCH - http://127.0.0.1:8080/match_param?action=edit
Pyramid 1.2.1 / Python 2.7
def vc_request_param(request):
return R