gmyth-stream/server/0.2/lib/server.py
branchtrunk
changeset 628 c6af9d7a88b5
parent 595 5c5cff842d57
child 638 e38953623405
     1.1 --- a/gmyth-stream/server/0.2/lib/server.py	Wed Apr 25 15:53:19 2007 +0100
     1.2 +++ b/gmyth-stream/server/0.2/lib/server.py	Fri May 04 20:45:38 2007 +0100
     1.3 @@ -114,7 +114,11 @@
     1.4          elif self.path == "/stream.do":
     1.5              self.serve_stream(body)
     1.6          else:
     1.7 -            self.send_error(404, "File not found")
     1.8 +            action = self.query.get("action", None)
     1.9 +            if action is not None:
    1.10 +                self.serve_stream(body)
    1.11 +            else:
    1.12 +                self.send_error(404, "File not found")
    1.13      # do_dispatch()
    1.14  
    1.15