somewhat off-topic

Adonis deltapigz at telocity.com
Mon Jul 1 23:25:38 EDT 2002


i wrote a http server using SimpleHTTPServer, im using the GET command as my
cgi trigger, and would like to "hide" the path?

i.e.

i get a:
 GET /login?user=foo&pass=bar

client side (on their url box they see)
 http://host/login?user=foobar&pass=bar

i want them to just see:
 http://host/login or just http://host/ since login is really mapped to a
class.

i know it has to do something with headers, but have failed to find it on
google.

any help would greatly be appreciated.

Adonis





More information about the Python-list mailing list