(self)
return self.uri.split("?")[0]
Some URIs have a slash in the query string.
Some URIs have a slash in the query string.
Some URIs have a slash in the query string .
def get_path_from_uri(self):
        """Some URIs have a slash in the query string."""
        return self.uri.split("?")[0]
def get_path_from_uri ( self ) : return self . uri . split ( "?" ) [ 0 ]