CHips L MINI SHELL

CHips L pro

Current Path : /proc/self/root/proc/self/root/usr/share/doc/python-pycurl-7.19.0/tests/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/share/doc/python-pycurl-7.19.0/tests/test_debug.py

#! /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()

Copyright 2K16 - 2K18 Indonesian Hacker Rulez