Wiktor Niesiobedzki added the comment:

Here are the test cases that I've come up with.

test_response_after_headers - tests for the case that I'm missing
test_ssl_renegotiation - tests for the case that Martin point out

As in stock ssl library there is no way to force renegotiation, I've just 
separated the receiving of standard HTTP status message into few parts and 
checking, if the http.client is still sending the contents.

So - without my patch, first case is failing, with my patch - the second case 
is failing.  I'll try to find some better solution here, which will cover both 
cases.

----------
Added file: http://bugs.python.org/file41573/early_http_response_tests.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25919>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to