Martin Panter added the comment: A test case with data like this would make more sense to me:
# Response without HTTP status line or header, modelling responses sent by # some proxies that do not support CONNECT body = b"<html>400 Bad Request</html>" ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17849> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com