modify response headers in pylons
response.headerlist = [('Content-type', 'image/png')]
Ende September 2010
From the older archive — written at the time and left as it stood. The opinions, the tooling and the typos are all period-accurate.
response.headerlist = [(‘Content-type’, ‘image/png’)]
From Ende September 2010