@property<EOL><INDENT>def path_url(self):<DEDENT>
url = []<EOL>p = urlsplit(self.url)<EOL>path = p.path<EOL>if not path:<EOL><INDENT>path = '<STR_LIT:/>'<EOL><DEDENT>url.append(path)<EOL>query = p.query<EOL>if query:<EOL><INDENT>url.append('<STR_LIT:?>')<EOL>url.append(query)<EOL><DEDENT>return '<STR_LIT>'.join(url)<EOL>
Build the path URL to use.