Function url::follow_location()

← Back to Class url



Module urlClass url → follow_location()

Description

Global configuration: set the HTTP 3xx follow redirects on or off. The default configuration is on

url::follow_location(follow)


Parameters


Return Value


Usage Example

import url
 
url.follow_location(false)
url.get("https://example.com/")