Closed
Description
From https://tools.ietf.org/html/rfc7231:
A user agent SHOULD send a User-Agent field in each request unless specifically configured not to do so.
CurlAsyncHTTPClient
provides default User-Agent
string:
tornado/tornado/curl_httpclient.py
Lines 380 to 383 in c92b883
While SimpleAsyncHTTPClient
writes User-Agent
only when it's provided by the user:
tornado/tornado/simple_httpclient.py
Lines 393 to 396 in c92b883
Could you consider adding default User-Agent string in SimpleAsyncHTTPClient
?