HTTPRequest keep-alive

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Falcon

Hello,
I need to do keep alive request in Python3 i do this:

import requests
import json

uurl='https://eapi.pcloud.com/'
s=requests.Session()
resp= s.post(uurl+'file_open',
        data={
            'path':'/some.txt',
            'username':'some@gmail.com',         
        }
    )
if json:
    resp = resp.json()
else:
    resp = resp.content
print(resp)
resp= s.post(uurl+'file_size',
            data={
          'username':'some@gmail.com',                     
       }
    )
if json:
    resp = resp.json()
else:
    resp = resp.content
print(resp)

How can i achieve this in godot with HTTPRequest?
And one more question:
Why i can’t use httprequest from node?I get some error like this: error !is_in_tree
Thanks.