#NEWLINE# def get_full_domain( self ) : #NEWLINE# #INDENT# hostname = decode_utf8 ( self . hostname ) #NEWLINE# if ( self . port not in ( DEFAULT_HTTP_PORTS | DEFAULT_HTTPS_PORTS ) ) : #NEWLINE# #INDENT# return ':' . join ( [ hostname , str ( self . port ) ] ) #NEWLINE# #UNINDENT# return hostname