bottle_auth/core/auth.py
def get_arguments(self, name, strip=True):
        """Returns a list of the arguments with the given name.

        If the argument is not present, returns an empty list.

        The returned values are always unicode.
        """
        values = []
        for v in self.request.params.getall(name):
            v = self.decode_argument(v, name=name)
            if isinstance(v, unicode):
                # Get rid of any weird control chars (unless decoding gave
                # us bytes, in which case leave it alone)
                v = re.sub(r"[\x00-\x08\x0e-\x1f]", " ", v)
            if strip:
                v = v.strip()
            values.append(v)
        return values
def get_arguments(self, name, strip=True):
        values = []
        for v in self.request.params.getall(name):
            v = self.decode_argument(v, name=name)
            if isinstance(v, unicode):
                # Get rid of any weird control chars (unless decoding gave
                # us bytes, in which case leave it alone)
                v = re.sub(r"[\x00-\x08\x0e-\x1f]", " ", v)
            if strip:
                v = v.strip()
            values.append(v)
        return values
def get_arguments ( self , name , strip = True ) : values = [ ] for v in self . request . params . getall ( name ) : v = self . decode_argument ( v , name = name ) if isinstance ( v , unicode ) : # Get rid of any weird control chars (unless decoding gave # us bytes, in which case leave it alone) v = re . sub ( r"[\x00-\x08\x0e-\x1f]" , " " , v ) if strip : v = v . strip ( ) values . append ( v ) return values
Returns a list of the arguments with the given name.

        If the argument is not present, returns an empty list.

        The returned values are always unicode.
Returns a list of the arguments with the given name .