gmyth-stream/server/lib/request_handler.py
branchtrunk
changeset 855 16857017fc11
parent 832 daa61fffb811
child 883 e8a82fc5f075
     1.1 --- a/gmyth-stream/server/lib/request_handler.py	Wed Aug 29 14:42:10 2007 +0100
     1.2 +++ b/gmyth-stream/server/lib/request_handler.py	Mon Sep 24 16:07:47 2007 +0100
     1.3 @@ -425,10 +425,6 @@
     1.4          self.send_response(200)
     1.5          self.send_header("Content-Type", obj.get_mimetype())
     1.6          self.send_header("Cache-Control","no-cache")
     1.7 -
     1.8 -        if (obj.name == "gmencoder"):
     1.9 -            self.send_header("Transfer-Encoding", "chunked")
    1.10 -
    1.11          self.end_headers()
    1.12  
    1.13          if body:
    1.14 @@ -443,9 +439,9 @@
    1.15  
    1.16                  self.server.add_transcoders(self, obj)
    1.17                  if obj.start(self.wfile):
    1.18 -                    self.transcoders_log.info (test_tid, "OK")
    1.19 +                    self.transcoders_log.info(test_tid, "OK")
    1.20                  else:
    1.21 -                    self.transcoders_log.info (test_tid, "Fail")
    1.22 +                    self.transcoders_log.info(test_tid, "Fail")
    1.23  
    1.24                  self.server.del_transcoders(self, obj)
    1.25                  files.TranscodedFile("", self.query)