How to prevent streamlit showing sensitve server information

Summary

My streamlit app did not pass Pen test because it sent some server information to client as shown in the red box belows.

Does anyone know how to prevent streamlit showing sensitve server information?

Hi @wk_dev

Thereโ€™s a relevant post here with a detailed answer:

However, if youโ€™d like to file a GitHub issue reporting this, the link would be here.