pikapython/examples/requests/requests_encode.py

9 lines
128 B
Python
Raw Normal View History

import requests
2022-12-11 19:08:52 +08:00
a = requests.request("GET", "http://pikascript.com/")
print(a.headers)
2022-12-11 19:08:52 +08:00
print(a.content_length)
print(a.text)