ID EN
HTTP Client

set_debuglevel

Python 3.11

Set the debugging level. The default debug level is 0, meaning no debugging output is printed. Any value greater than 0 will cause all currently defined debug output to be printed to stdout. The debuglevel is passed to any new HTTPResponse objects that are created.

Syntax

PYTHON
HTTPConnection.set_debuglevel(level)

See Also

HTTPResponse