code: def full_url(self):
          
          if self.needs_auth:
              netloc = '%s:%s@%s' % (self.username, self.password, self.netloc)
          else:
              netloc = self.netloc
          return urlunparse((
              self.scheme,
              netloc,
              self.path,
              self.params,
              self.query,
              self.fragment,
          ))
docs: The full URL, including username/password.