code: def query(self, query=None):
          
          if query is None:
              return self.url.query
          self.url.query = query
docs: If query is given, modify the URL correspondingly, return the current
          query otherwise.