Last modified on 21 September 2010, at 13:43

Karrigell/Set Content-type header

To set response headers, use the built-in RESPONSE dictionary

RESPONSE['Content-type'] = "text/plain"
print "content type is set to text/plain"