#NEWLINE# def _get_relative_path( self ) : #NEWLINE# #INDENT# 'Returns the path with the query parameters escaped and appended.' #NEWLINE# param_string = self . _get_query_string ( ) #NEWLINE# if ( self . path is None ) : #NEWLINE# #INDENT# path = '/' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# path = self . path #NEWLINE# #UNINDENT# if param_string : #NEWLINE# #INDENT# return '?' . join ( [ path , self ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return path