#NEWLINE# def handle_root( self ) : #NEWLINE# #INDENT# 'Handles index.html requests.' #NEWLINE# res_filename = os . path . join ( os . path . dirname ( __file__ ) , _PROFILE_HTML ) #NEWLINE# with io . open ( res_filename , 'rb' ) as res_file : #NEWLINE# #INDENT# content = res_file . read ( ) #NEWLINE# #UNINDENT# return ( self , 'text/html' )