www.un.org/Depts/DGACM/index_french.htm 甲型六氯环己烷网络在多个层次上要求使用APIC,只提供高级别接口。 因此,不可能用<代码>requests/code>做到这一点。
这是从低水平的APIC中获取原始头盔的一个例子:
import http.client
host = "docs.python.org"
conn = http.client.HTTPSConnection(host)
conn.request("GET", "/3/", headers={"Host": host})
response = conn.getresponse()
print(list(response.headers.raw_items()))
以上法典产生了这样的产出:
[( Connection , keep-alive ),
( Content-Length , 19561 ),
( server , nginx ),
( content-type , text/html ),
( last-modified , Wed, 24 Apr 2024 21:00:51 GMT ),
( etag , "66297303-4c69" ),
( x-clacks-overhead , GNU Terry Pratchett ),
( strict-transport-security , max-age=315360000; includeSubDomains; preload ),
( Via , 1.1 varnish, 1.1 varnish ),
( Accept-Ranges , bytes ),
( Date , Thu, 25 Apr 2024 02:48:30 GMT ),
( Age , 20831 ),
( X-Served-By , cache-lga21956-LGA, cache-tyo11964-TYO ),
( X-Cache , HIT, HIT ),
( X-Cache-Hits , 19, 1 ),
( X-Timer , S1714013311.518366,VS0,VE1 ),
( Vary , Accept-Encoding )]
如果不要求低级别APIC,则你可以人工确定<代码>requests/code>的回复方的这种结果。