What is the maximum debuglevel for a Python httplib -


these docs not maximum debug level is.

i need know that.

i went through httplib.py , code littered following statement:

if self.debuglevel > 0: 

this means there 2 levels.

  1. debuglevel less or equal zero
  2. debuglevel greater zero

yes have been better documented.

also time need check such information, can @ code. here favorite approach locate source file particular module.

>>> import httplib >>> httplib.__file__ '/opt/local/library/frameworks/python.framework/versions/2.7/lib/python2.7/httplib.pyc' 

now can open following file go through it's source code

/opt/local/library/frameworks/python.framework/versions/2.7/lib/python2.7/httplib.py 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -