the post name says it all being that i just want flask to run and use this website for distributing it. however replit just decides hiding random and highly unnecessary headers to my responses is ok. anyway how do i get rid of these headers like server (i do not want it exposed), replit-cluster, etc…
If you don’t want a server
header to be returned, then configure Flask not to send that header. As for the strict-transport-security
header, that one’s important for security, and there’s no reason to remove it. The expect-ct
header is also for security, and has no private information. As for the replit-cluster
header, that just lets people know whether you’re a paid Replit user (which they can already find out without the header by checking your Replit profile).