This assignment put two 'Content-Type' on pylons.response.header as a result. tg/configuration.py:197 pylons_config['pylons.response_options']['headers']['Content-Type'] = None The DecoratedController._render_response corrects this situation with most cases. However, if pylons.controllers.XMLRPCController is used for instance with TG2, paste.replace_header() generates the exception by response generated from config that TG2 destroyed.
11/19/10 12:54:36 changed by percious
hmm. This is an interesting problem/solution. Probably it will be good to implement for 2.1.1