#http.client.HTTPResponse object.info()
>>> import urllib
>>> print(urllib.request.urlopen('https://placekitten.com/1314/520').info())
Date: Wed, 12 Jan 2022 01:12:41 GMT
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: close
cache-control: public, max-age=86400
expires: Thu, 31 Dec 2020 20:00:00 GMT
vary: User-Agent, Accept-Encoding
access-control-allow-origin: *
Last-Modified: Wed, 12 Jan 2022 00:30:23 GMT
CF-Cache-Status: HIT
Age: 2538
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=AK9UOExwBSxKuYew%2FwdKbccWeTznccl2VZ58NorLmgeppcV1TlyAwDAot6EAPjF4L5VNkXP8rAhYaU7P8kNI2dQQpg0TLd1NxGyczZsAC8%2ByQvQbe6JB%2F%2BFBQs9jf%2BiJ5XQ%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
'''这里server返回服务器名称'''
CF-RAY: 6cc2849b3a893a07-SEA
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
>>> import urllib
>>> print(urllib.request.urlopen('https://placekitten.com/1314/520').info())
Date: Wed, 12 Jan 2022 01:12:41 GMT
Content-Type: image/jpeg
Transfer-Encoding: chunked
Connection: close
cache-control: public, max-age=86400
expires: Thu, 31 Dec 2020 20:00:00 GMT
vary: User-Agent, Accept-Encoding
access-control-allow-origin: *
Last-Modified: Wed, 12 Jan 2022 00:30:23 GMT
CF-Cache-Status: HIT
Age: 2538
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=AK9UOExwBSxKuYew%2FwdKbccWeTznccl2VZ58NorLmgeppcV1TlyAwDAot6EAPjF4L5VNkXP8rAhYaU7P8kNI2dQQpg0TLd1NxGyczZsAC8%2ByQvQbe6JB%2F%2BFBQs9jf%2BiJ5XQ%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
'''这里server返回服务器名称'''
CF-RAY: 6cc2849b3a893a07-SEA
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400