':return: Returns a new url object contaning the URL without the
parameter.'

def remove_params(self):

    parts = (self.scheme, self.netloc, self.path, None, unicode(self.querystring), self.fragment)
    return URL.from_parts(encoding=self._encoding, *parts)
