python import furl url = furl.furl('http://example.com/path?param1=value1¶m2=value2') url.scheme = 'https' url.path = '/newpath' url.args['param2'] = 'newvalue2'