2009-11-28 | Paul Boddie | raw annotate files changeset graph | Reverted local identifier changes in order to restore their URL/URI character. Introduced URL-encoding of identity information for non-ASCII characters, due to limitations in HTML 4. Introduced URL-encoding of the association handle since python-openid (2.0.2) does not like being presented with a handle containing non-ASCII characters. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 from OpenIDLogin import get_site_map 5 6 app_url = "http://localhost:8081" # No trailing "/"! 7 deployment_url = app_url 8 resource = get_site_map(app_url, deployment_url) 9 10 print "Serving..." 11 deploy(resource, address=("", 8081), handle_errors=0) 12 13 # vim: tabstop=4 expandtab shiftwidth=4