OS : Linux
PHP Version : 7.4.33
Software : Apache/2.4.6 (CentOS) PHP/7.4.33
Information System : Linux apprendre2 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Disable Function : #! /usr/bin/env python # -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: test_debug.py,v 1.6 2003/04/21 18:46:10 mfx Exp $ import pycurl def test(t, b): print "debug(%d): %s" % (t, b) c = pycurl.Curl() c.setopt(pycurl.URL, 'http://curl.haxx.se/') c.setopt(pycurl.VERBOSE, 1) c.setopt(pycurl.DEBUGFUNCTION, test) c.perform() c.close()