(self, msg)
Replace an end </html> tag with the hook; every HTTP page
            should have this.
Replace an end </html> tag with the hook; every HTTP page
            should have this.
Replace an end < / html > tag with the hook ; every HTTP page should have this .
def handle_response(self, msg):
        """ Replace an end </html> tag with the hook; every HTTP page
            should have this.
        """
        msg.replace("</html>", "{0}</html>".format(self.script_hook))
        msg.replace("</HTML>", "{0}</HTML>".format(self.script_hook))
        msg.reply()
def handle_response ( self , msg ) : msg . replace ( "</html>" , "{0}</html>" . format ( self . script_hook ) ) msg . replace ( "</HTML>" , "{0}</HTML>" . format ( self . script_hook ) ) msg . reply ( )