#NEWLINE# @ property #NEWLINE# def _keep_alive( self ) : #NEWLINE# #INDENT# conn = self . headers . get ( 'Connection' , '' ) . lower ( ) #NEWLINE# if ( self . http_version == 'HTTP/1.0' ) : #NEWLINE# #INDENT# return ( conn == 'keep-alive' ) #NEWLINE# #UNINDENT# return ( conn != 'close' )