(self, params=None)
return self
Strip any of the provided parameters out of the url
Strip any of the provided parameters out of the url
Strip any of the provided parameters out of the url
def deparam(self, params=None):
        '''Strip any of the provided parameters out of the url'''
        # And remove all the black-listed query parameters
        self._query = '&'.join(q for q in self._query.split('&')
                               if q.partition('=')[0].lower() not in params)
        # And remove all the black-listed param parameters
        self._params = ';'.join(q for q in self._params.split(';') if
                                q.partition('=')[0].lower() not in params)
        return self
def deparam ( self , params = None ) : # And remove all the black-listed query parameters self . _query = '&' . join ( q for q in self . _query . split ( '&' ) if q . partition ( '=' ) [ 0 ] . lower ( ) not in params ) # And remove all the black-listed param parameters self . _params = ';' . join ( q for q in self . _params . split ( ';' ) if q . partition ( '=' ) [ 0 ] . lower ( ) not in params ) return self