How to send a request to streamlit server

Hi All,
I know we can get the request header by
st.server.server.Server.get_current()._get_session_info(session_id).ws.request.headers

but, I actually want to send request with header to streamlit server. How should I realize it?

Thank you so much!