]> git.ipfire.org Git - thirdparty/tornado.git/commit
httpclient: Improve HTTPResonse time info 2416/head
authorBen Darnell <ben@bendarnell.com>
Sun, 10 Jun 2018 21:08:15 +0000 (17:08 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 10 Jun 2018 21:08:15 +0000 (17:08 -0400)
commit1fd7ead31adb234a0fce7c074fb033cbf7029947
tree393e69ec1b9943b92b6aa4892b334766f811fde4
parentcfc8f726395be456297a39155ddd0aaaa786bcbb
httpclient: Improve HTTPResonse time info

The HTTPResponse.request_time attribute is now consistent between curl
and simple HTTP clients (it excludes queue time in both cases). Added
a start_time attribute which can be used to see when the network
processing started.

Replaces #1032
tornado/curl_httpclient.py
tornado/httpclient.py
tornado/simple_httpclient.py
tornado/test/httpclient_test.py