url http://localhost:%(port)d/%(datadir)s/http_slash.html cache key http://localhost:%(port)d/%(datadir)s/http_slash.html real url http://localhost:%(port)d/%(datadir)s/http_slash.html valid url http: cache key None real url http:// name no url, no slash error url http:/ cache key None real url http:/// name no url, one slash error url http:// cache key None real url http:// name no url error url http:www.example.com/ cache key None real url http:///www.example.com/ name no slash example error url http:/www.example.com/ cache key None real url http:///www.example.com/ name one slash example error url http://www.example.com/ cache key http://www.example.com/ real url http://www.example.com/ name ok example valid url //www.example.com/ cache key http://www.example.com/ real url http://www.example.com/ name no scheme example valid