Hi, I have found out that we can use streamlit.web.server.websocket_headers to get the websocket headers for the streamlit application. Is there a similar way to access the http headers ? Thanks.
Unfortunately, I’m under the impression that there isn’t a way to programmatically retrieve HTTP headers today. @andfanilo created this snippet a few years ago to get HTTP headers, but this snippet won’t work with more recent versions of Streamlit.
I’d recommend sharing your thoughts on this GitHub Issue if this functionality is important to you so our team can prioritize accordingly.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.