[BaseHTTPServer/SimpleHTTPServer] Remove "Server:" header
sebsauvage at gmail.com
sebsauvage at gmail.com
Fri Oct 3 09:15:52 EDT 2008
Hello.
I'm using SimpleHTTPServer (work well) but it always sends "Server"
header in response:
"Server: SimpleHTTP/0.6 Python/2.5.1"
How can I remove that ?
I tried:
self.server_version = ""
self.sys_version = ""
but the header is still sent, empty.
I there a way to remove the "Server:" header completely ?
Thanks.
More information about the Python-list
mailing list