pip install httplib2 python import httplib2 python import httplib2 def main(): http = httplib2.Http() response, content = http.request("http://www.example.com", "GET") print("Status code:", response.status) print("Response content:", content.decode()) if __name__ == "__main__": main()


上一篇:
下一篇:
切换中文