|
Ville Silventoinen
vsi at ebi.ac.uk
Tue Jun 28 12:19:29 EDT 2005
Hi,
has anyone used req.parsed_uri fields successfully?
def handler(req):
req.content_type = "text/plain"
for field in req.parsed_uri:
req.write("%s," % str(field))
return apache.OK
shows following:
None,None,None,None,None,None,/cgi-bin/vsi/auth/login.py,None,None,
Is there any other way to determine scheme, host and port?
Or to get the original URL? I need to check that scheme is 'https'...
Thanks,
Ville
|