 
      
      url::follow_location()Global configuration: set the HTTP 3xx follow redirects on or off. The default configuration is on
url::follow_location(follow)
follow (boolean)  — Use follow
boolean — Always returns true
import url
 
url.follow_location(false)
url.get("https://example.com/")