From b9f502f7c055013d472fc437cda965bed4bbb363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20K=C3=B6lbel?= Date: Mon, 17 Mar 2014 17:47:03 +0100 Subject: [PATCH] fixed a problem, that the "continue" page of the example consumer would not be displayed as html in firefox. --- examples/consumer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/consumer.py b/examples/consumer.py index 1c38a623..526e7d4f 100644 --- a/examples/consumer.py +++ b/examples/consumer.py @@ -208,6 +208,9 @@ def doVerify(self): form_tag_attrs={'id':'openid_message'}, immediate=immediate) + self.send_response(200) + self.send_header('Content-Type', "text/html") + self.end_headers() self.wfile.write(form_html) def requestRegistrationData(self, request):