2017-06-02 00:52:56 +01:00
|
|
|
import requests
|
|
|
|
|
2023-10-25 01:03:35 +01:00
|
|
|
|
2017-06-02 00:52:56 +01:00
|
|
|
# Warning: This is a heavy process.
|
|
|
|
|
|
|
|
data = ""
|
|
|
|
for i in range(1, 250000):
|
|
|
|
data += str(i)
|
|
|
|
|
2023-07-05 13:30:38 +01:00
|
|
|
r = requests.post("http://0.0.0.0:8000/stream", data=data)
|
2017-06-02 00:52:56 +01:00
|
|
|
print(r.text)
|