Web.py OpenID Redirect on Authentication
===

I've been working through some web.py webopenid examples.  I can get openid to work and authenticate a user, but what I'm having trouble with is the return url.  It appears that the argument for web.webopenid.form sets the return url, but the examples I've looked at seem to strongly prefer that the return url be handled by web.webopenid.host, which handles the return then redirects to the site's root url.  

I would prefer not to redirect to the site root url, but I'm hesitant to discard web.webopenid.host without knowing why the examples prefer it so strongly or if I can get it to redirect to some other url.  Looking at its source code it looks like I could feed it a return_to parameter, but my attempts to do so have not been met with success.  For example, instead of web.webopenid.form('/openid'), I use web.webopenid.form('/openid?return_to=/myloginsplashpage').  

tldr; How do I get web.webopenid.host to go to some url apart from / upon authentication, or should I just roll my own handler?

This is the code I have been working from:

    import web, web.webopenid  
  
    urls = (  
        r'/openid', 'web.webopenid.host',  
        r'/', 'Index'  
    )  
  
    app = web.application(urls, globals())  
  
    class Index:  
        def GET(self):  
            body = '''  
                    <html><head><title>Web.py OpenID Test</title></head>  
                    <body>  
                    %s  
                    </body>  
                    </html>  
                    ''' % (web.webopenid.form('/openid'))  
  
            return body  
  
    if __name__ == "__main__": app.run() 