...
 
Commits (2)
......@@ -75,7 +75,8 @@ class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
self.send_header("Access-Control-Allow-Origin", "*")
self.end_headers()
# self.path equals GET Parameter: "/foo/bar/".
erg = parse.parse("/{topic}/set?{value:d}", self.path)
erg = parse.parse("/{topic}/set?{value:f}{}", self.path)
if not erg: erg = parse.parse("/{topic}/set?{value:d}{}", self.path)
if not erg: erg = parse.parse("/{topic}", self.path)
#print(erg)
topic = unquote(erg['topic']) if erg else None
......