def query(self):
        """query_string part of a url (eg, http://host.com/path?query=string)"""
        self._query = query = ""

        query_kwargs = self.query_kwargs
        if query_kwargs: query = urlencode(query_kwargs, doseq=True)
        return query
def query ( self ) : self . _query = query = "" query_kwargs = self . query_kwargs if query_kwargs : query = urlencode ( query_kwargs , doseq = True ) return query
query_string part of a url (eg, http://host.com/path?query=string)