desired: http://www.example.com/app/default/index?blah=1&blah=2
There does not seem to be any way to do this with URL.
URL(request.application,'default','index',vars={'blah':1,'blah':2})
would simply write over first key val and
URL(request.application,'default','index',vars={'blah':[1,2]})
tries to urlencode what looks like the str() output of the nested
list.
My solution was to URL(request.application,'default','index')
+'?'+urllib.urlencode([('blah',1),('blah',2)])
This a bug or is this the way it's supposed to behave?