1.1 --- a/gmyth-stream/server/0.3/lib/request_handler.py Sat Jun 30 00:27:43 2007 +0100
1.2 +++ b/gmyth-stream/server/0.3/lib/request_handler.py Mon Jul 02 08:33:58 2007 +0100
1.3 @@ -336,8 +336,10 @@
1.4
1.5 self.send_response(200)
1.6 self.send_header("Content-Type", obj.get_mimetype())
1.7 - self.send_header("Transfer-Encoding", "chunked")
1.8 - self.send_header("Cache-Control", "no-cache")
1.9 +
1.10 + if (obj.name == "gmencoder"):
1.11 + self.send_header("Transfer-Encoding", "chunked")
1.12 +
1.13 self.send_header("Connection", "close")
1.14 self.end_headers()
1.15