File manager - Edit - /opt/hc_python/share/doc/pycurl/examples/quickstart/follow_redirect.py
Back
#! /usr/bin/env python # -*- coding: utf-8 -*- # vi:ts=4:et import pycurl c = pycurl.Curl() # Redirects to https://www.python.org/. c.setopt(c.URL, 'http://www.python.org/') # Follow redirect. c.setopt(c.FOLLOWLOCATION, True) c.perform() c.close()
| ver. 1.4 |
Github
|
.
| PHP 7.0.33 | Generation time: 0.49 |
proxy
|
phpinfo
|
Settings