< Karrigell

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

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

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.