HttpModule For Controlling Custom Headers

0 comments suggest edit

In a triumphant return after about three months of not blogging, Barry “” Dorrans has published an HttpModule for modifying custom HTTP headers in response to a throw away comment by Scott Hanselman in his post on P3P requests.

The nice thing about Barry’s module is that it is much widely general and applicable than just for P3P headers.

This is a configurable HttpModule, allowing you to use web.config to specify what headers and values you wish added to requests.

So if you need tight control over your HTTP headers, this is the module for you.

Found a typo or error? Suggest an edit! If accepted, your contribution is listed automatically here.



4 responses

  1. Avatar for vern
    vern August 1st, 2006

    Hey, curious; how'd you get the XFN data in there for Barry and Scott? Manually?

  2. Avatar for Braden
    Braden August 1st, 2006

    Lurking ...

  3. Avatar for Haacked
    Haacked August 1st, 2006

    Vern, I manually add the rel="" part of the XFN microformat. I then use the XFN Highlighter script I wrote to highlight them.

  4. Avatar for Christopher Steen
    Christopher Steen August 1st, 2006

    Fiddler 1.2 (now with font sizes!) [Via: ]

    ASP.NET Podcast Show #60 - Atlas...