Ejemplo n.º 1
0
 def render(self, req):
     # show xml
     req.setResponseCode(http.OK)
     req.setHeader('Content-type', 'application/xhtml+xml')
     req.setHeader('charset', 'UTF-8')
     return ''.join(epgrefresh.buildConfiguration(webif=True))
	def render(self, req):
		# show xml
		req.setResponseCode(http.OK)
		req.setHeader('Content-type', 'application/xhtml+xml')
		req.setHeader('charset', 'UTF-8')
		return ''.join(epgrefresh.buildConfiguration(webif = True))