that's what i get for copy-pasting from cherrypy rather than from pyramid...