# HG changeset patch # User paulb # Date 1116361423 0 # Node ID 706bcb00d86d1c0965551ea735e57e7394424f70 # Parent 91a001167371c2e26f63dc3a508433fac90c35bb [project @ 2005-05-17 20:23:39 by paulb] Changed the content type (thus persuading Opera to display pages). diff -r 91a001167371 -r 706bcb00d86d examples/Common/Configurator/__init__.py --- a/examples/Common/Configurator/__init__.py Sun May 15 23:34:17 2005 +0000 +++ b/examples/Common/Configurator/__init__.py Tue May 17 20:23:43 2005 +0000 @@ -116,7 +116,7 @@ # Start the response. - trans.set_content_type(WebStack.Generic.ContentType("text/html", self.encoding)) + trans.set_content_type(WebStack.Generic.ContentType("application/xhtml+xml", self.encoding)) # Define the stylesheet parameters. diff -r 91a001167371 -r 706bcb00d86d examples/Common/PEP241/__init__.py --- a/examples/Common/PEP241/__init__.py Sun May 15 23:34:17 2005 +0000 +++ b/examples/Common/PEP241/__init__.py Tue May 17 20:23:43 2005 +0000 @@ -110,7 +110,7 @@ # Start the response. - trans.set_content_type(WebStack.Generic.ContentType("text/html", self.encoding)) + trans.set_content_type(WebStack.Generic.ContentType("application/xhtml+xml", self.encoding)) # Ensure that an output stylesheet exists. diff -r 91a001167371 -r 706bcb00d86d examples/Common/Questionnaire/__init__.py --- a/examples/Common/Questionnaire/__init__.py Sun May 15 23:34:17 2005 +0000 +++ b/examples/Common/Questionnaire/__init__.py Tue May 17 20:23:43 2005 +0000 @@ -105,7 +105,7 @@ # Start the response. - trans.set_content_type(WebStack.Generic.ContentType("text/html", self.encoding)) + trans.set_content_type(WebStack.Generic.ContentType("application/xhtml+xml", self.encoding)) # Ensure that an output stylesheet exists.