def redirect(self): # methinks this is probably a vuln right here :I location = "https://{host}{path}".format(host=self.headers['host'], path=self.path) return Reply.text(308, '', headers=dict(location=location))
def redirect(self): # methinks this is probably a vuln right here :I location = "https://{host}{path}".format(host = self.headers['host'], path = self.path) return Reply.text(308, '', headers=dict(location=location))