(self, odict)
Takes an ODict object, and sets the request query string.
Takes an ODict object, and sets the request query string.
Takes an ODict object and sets the request query string .
def set_query(self, odict):
        """
            Takes an ODict object, and sets the request query string.
        """
        scheme, netloc, path, params, _, fragment = urlparse.urlparse(self.get_url())
        query = utils.urlencode(odict.lst)
        self.set_url(urlparse.urlunparse([scheme, netloc, path, params, query, fragment]))
def set_query ( self , odict ) : scheme , netloc , path , params , _ , fragment = urlparse . urlparse ( self . get_url ( ) ) query = utils . urlencode ( odict . lst ) self . set_url ( urlparse . urlunparse ( [ scheme , netloc , path , params , query , fragment ] ) )