encoding tests
authorRico Schulte <ricoschulte@users.schwerkraft.elitedvb.net>
Sat, 27 Jan 2007 17:45:14 +0000 (17:45 +0000)
committerRico Schulte <ricoschulte@users.schwerkraft.elitedvb.net>
Sat, 27 Jan 2007 17:45:14 +0000 (17:45 +0000)
webinterface/src/plugin.py

index c627284..4c7a8be 100644 (file)
@@ -85,6 +85,7 @@ def startWebserver():
                        if os.path.isfile(self.path):
                                s=myProducerStream()
                                webif.renderPage(s, self.path, req, sessions[0])  # login?
+                               #return http.Response(responsecode.OK,{'Content-type': http_headers.MimeType('application', 'xhtml+xml')},stream=s)
                                return http.Response(responsecode.OK,stream=s)
                        else:
                                return http.Response(responsecode.NOT_FOUND)