def gone():
 ctx.status = '410 Gone'
 header('Content-Type', 'text/html')
 return output('gone')

def gone ( ) : ctx . status = '410 Gone' header ( 'Content-Type' , 'text/html' ) return output ( 'gone' )
returns a 410 gone error .