I am trying to pass a dictionary to HttpRedirect or HttpFound method so that I can use this dictionary at the redirected url.
I am using route module for url connect and using cherrypy and webob for Https.
I want to do like this return HttpRedirect(location=location, mydict)
where HttpRedirect extends HttpFound of webob
you have (at least) two ways
HttpRedirect(mydict, location=location)orHttpRedirect(httpdict=mydict, location=location): explicitly pass the dictionary as positional argument or keyword argument and then access the dictionaryHttpRedirect(location=location, **kargs)and then passingmydictdoingHttpRedirect(location=location, **mydic).for a short tutorial on positional and keyword arguments read here