diff -r f429027babe0 tg/configuration.py
--- a/tg/configuration.py       Tue Feb 09 15:41:21 2010 -0700
+++ b/tg/configuration.py       Fri Feb 19 16:09:39 2010 +0900
@@ -195,10 +195,6 @@
                         package=self.package.__name__,
                         paths=self.paths)
         config.update(self)
-        # set up the response options to None.  This allows
-        # you to set the proper content type within a controller method
-        # if you choose.
-        pylons_config['pylons.response_options']['headers']['Content-Type'] = None

         #see http://trac.turbogears.org/ticket/2247
         if asbool(config['debug']):
diff -r f429027babe0 tg/controllers/decoratedcontroller.py
--- a/tg/controllers/decoratedcontroller.py     Tue Feb 09 15:41:21 2010 -0700
+++ b/tg/controllers/decoratedcontroller.py     Fri Feb 19 16:09:39 2010 +0900
@@ -72,6 +72,11 @@

         """

+        # set up the response options to None.  This allows
+        # you to set the proper content type within a controller method
+        # if you choose.
+        pylons.response.headers['Content-Type'] = None
+
         self._initialize_validation_context()

         pylons.request.start_response = getattr(self, 'start_response', None)

