New submission from Matt Spear <batman...@gmail.com>: httplib with a debuglevel prints out the response headers, but does not do so with CONNECT requests (when set_tunnel is used). Attached is a small patch to print the reply when the CONNECT request returns something other than 200 OK. I'm not sure if it is worth printing the headers when a 200 OK is given. If it seems useful I can update the patch.
Thanks!!! ---------- components: Library (Lib) files: httplib.py.patch keywords: patch messages: 145157 nosy: Matt.Spear priority: normal severity: normal status: open title: httplib debuglevel on CONNECT doesn't print response headers type: feature request versions: Python 2.7 Added file: http://bugs.python.org/file23342/httplib.py.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13128> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com