pikapython/test/python/requests/requests_encode.py

9 lines
128 B
Python
Raw Normal View History

import requests
2022-11-24 23:28:37 +08:00
a = requests.request("GET", "http://pikascript.com/")
2022-11-23 23:58:14 +08:00
print(a.headers)
2022-11-24 23:28:37 +08:00
print(a.content_length)
print(a.text)