我想用Python获取HTTP的Server
头。我不知道怎样才能得到它,我看了一下{
The Server response-header field contains information about the
software used by the origin server to handle the request. The field
can contain multiple product tokens (section 3.8) and comments
identifying the server and any significant subproducts. The product
tokens are listed in order of their significance for identifying the
application.
我们怎样才能得到它?我可以用os
或platform
等来猜测
我假设你想:
“requests”是一个非常流行的用于发出HTTP请求的库(https://requests.readthedocs.io/en/master/)
下面是一个代码示例,非常有可能指导您实现所需的功能
相关问题 更多 >
编程相关推荐