#NEWLINE# def _has_strict_url_match( self , url , other ) : #NEWLINE# #INDENT# url_parsed = urlparse ( url ) #NEWLINE# other_parsed = urlparse ( other ) #NEWLINE# if ( url_parsed [ : 3 ] != other_parsed [ : 3 ] ) : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# url_qsl = sorted ( parse_qsl ( url_parsed . query ) ) #NEWLINE# other_qsl = sorted ( parse_qsl ( other_parsed . query ) ) #NEWLINE# return ( url_qsl == other_qsl )