docs: def buildURL(self, action, **query):
          """Build a URL relative to the server base_url, with the given
          query parameters added."""
          base = urlparse.urljoin(self.server.base_url, action)
          return appendArgs(base, query)