Skip to content
This repository
tree: a3d2a1c57e
Fetching contributors…

Cannot retrieve contributors at this time

file 16 lines (10 sloc) 0.376 kb
layout title


used to pass a proper header to the web browser before print statements, so that those print statements are interpreted by the web browser as html.

standard html example

web.header('Content-Type','text/html; charset=utf-8', unique=True) 

image example

 web.header('Content-type', 'image/jpeg') 
Something went wrong with that request. Please try again.