I\'m trying to set up a HTTP server in a Python script. So far I got the server it self to work, with a code similar to the below, from here.
from BaseHTTPSe
Import urlparse and do:
urlparse
def do_GET(self): qs = {} path = self.path if '?' in path: path, tmp = path.split('?', 1) qs = urlparse.parse_qs(tmp) print path, qs