IIS Integration testing: remove X-Powered-By: ASP.NET header

Posted by stacker on Stack Overflow See other posts from Stack Overflow or by stacker
Published on 2010-05-14T20:43:59Z Indexed on 2010/05/14 21:34 UTC
Read the original article Hit count: 203

I want to have a test that testing the inexistent of this http headers, using NAnt and NUnit:

X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET

Edit: I'm asking hot to actually test this rule: "don't have asp headers". so, I can have this test in each new website that I'm doing, so it make it easier no to forget this simple step.

© Stack Overflow or respective owner

Related posts about http-header-fields

Related posts about nant