From: szweep Date: Fri, 23 Oct 2015 16:23:09 +0000 (-0400) Subject: Restrict header check to SimpleAsyncHTTPClient X-Git-Tag: v4.3.0b2~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1563%2Fhead;p=thirdparty%2Ftornado.git Restrict header check to SimpleAsyncHTTPClient --- diff --git a/tornado/test/simple_httpclient_test.py b/tornado/test/simple_httpclient_test.py index 90394ec2f..da11abbe3 100644 --- a/tornado/test/simple_httpclient_test.py +++ b/tornado/test/simple_httpclient_test.py @@ -748,6 +748,9 @@ class ChunkedWithContentLengthTest(AsyncHTTPTestCase): return Application([('/chunkwithcl', ChunkedWithContentLength)]) + def get_http_client(self): + return SimpleAsyncHTTPClient() + def test_chunked_with_content_length(self): # Make sure the invalid headers are detected with ExpectLog(gen_log, ("Malformed HTTP message from None: Response "