]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Restrict header check to SimpleAsyncHTTPClient 1563/head
authorszweep <szweep@gmail.com>
Fri, 23 Oct 2015 16:23:09 +0000 (12:23 -0400)
committerszweep <szweep@gmail.com>
Fri, 23 Oct 2015 16:23:09 +0000 (12:23 -0400)
tornado/test/simple_httpclient_test.py

index 90394ec2f12cf9eeaa291031a88433f15e418967..da11abbe37c3c1895be7d495381ad38767340679 100644 (file)
@@ -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 "