I have a simple OWIN Middleware at the end of a chain, and I am setting the Server header value like this:
myiowincontext.Response.Headers.Remove("Server");
myiowincontext.Response.Headers.Set("Server" ,"owin");
return myiowincontext.Response.WriteAsync( "hello world" );
But that appears to only change the header from
Server: Microsoft-HTTPAPI/2.0
to
Server: owin Microsoft-HTTPAPI/2.0`
What is the proper way to set the Server header value to something custom, without including the "Microsoft-HTTPAPI/2.0" part?
Thanks.