def _build_endpoint_url(self, url, name=None):
if not url.endswith(self.URL_SEPERATOR):<EOL><INDENT>url = url + self.URL_SEPERATOR<EOL><DEDENT>if name is None:<EOL><INDENT>name = '<STR_LIT>'<EOL><DEDENT>return '<STR_LIT>' % (urlparse.urljoin(self.dsn, url), name,<EOL>self.NAME_EXTENSION)<EOL>
Method that constructs a full url with the given url and the
snapshot name.

Example:
full_url = _build_endpoint_url('/users', '1')
full_url => 'http://firebase.localhost/users/1.json'