0

enter image description here

I wrote a simple HTTP Selfhost

just like the image, how can i remove the Date and Server (selfhost)?

What I can find answers are all not selfhost, so I wanna know how to remove them of selfhost?. Thx!

3
  • From the response? If it is on the response, you need to remove it at the source of the response. Commented Jul 8, 2016 at 8:36
  • Can you say why you want to remove those headers? They are there to tell the client certain things it probably expects to see. Removing them might cause other problems. Commented Jul 8, 2016 at 9:17
  • You could consult [this] (blogs.msdn.microsoft.com/varunm/2013/04/23/…) or this page. Why do you want to remove Content-Length? Commented Jul 8, 2016 at 13:24

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.