]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/blob - html/Redirect.py
Move http/html-related code to html subdirectory
[phdru.name/cgi-bin/blog-ru/search-tags.git] / html / Redirect.py
1
2 from Cheetah.Tools.CGITemplate import CGITemplate
3
4 class Redirect(CGITemplate):
5    def cgiHeadersHook(self):
6       return """\
7 Content-Type: text/html
8 Location: %s
9
10 """ % self.url