[New-bugs-announce] [issue13128] httplib debuglevel on CONNECT doesn't print response headers
Matt Spear
report at bugs.python.org
Sat Oct 8 07:11:44 CEST 2011
New submission from Matt Spear <batman900 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue13128>
_______________________________________
More information about the New-bugs-announce
mailing list