Closed mmulhearn closed 5 years ago
Tried on 2.1, does not repro.
@mmulhearn Feel free to re-open if you can provide more information on how you're seeing this.
Just went and retired (having updated nugets and VS itself since then) and can no longer reproduce. Not sure what happened there. Looks good now. Thanks.
Referring to https://github.com/aspnet/KestrelHttpServer/issues/852, the following code should remove the Server header from the response:
However, I am still seeing Server: Kestrel header in the response. I have killed the process and re-built multiple times to no change.
Using Asp.Net Core 2.1.1.