def do_HEAD(self): if self.is_tryton_url(self.path): self.send_tryton_url(self.path) return SimpleHTTPServer.SimpleHTTPRequestHandler.do_HEAD(self)