I'm benchmarking my application with ab -c 100 -n 10000 http://{your ip}:8000/
, everything is fine, but being obsessive as I am, I found that while describing the server, it came back with
Server Software:
Server Hostname: localhost
Server Port: 1337
Document Path: /
Document Length: 19 bytes
How do I set the Server Software variable? I can't live with that empty field right there.
Set a Server
header. See RFC-2616 section 14.38 and ResponseWriter.Header.
w.Header().Set("Server", "MyServer")