Detailed Description

Helpers for dealing with HTTP headers.

Static Public Member Functions

static bool Restricted (string header)
 Checks if the given header is restricted. More...
 

Static Private Member Functions

static void SetupRestricted ()
 Sets up the restricted set. More...
 
static void Restrict (string header)
 Restricts the given header. It can't be used from e.g. XMLHttpRequest. More...
 

Static Private Attributes

static Dictionary< string, bool > RestrictedSet
 The set of restricted headers. More...
 

Member Function Documentation

static void PowerUI.Http.HttpHeaders.Restrict ( string  header)
inlinestaticprivate

Restricts the given header. It can't be used from e.g. XMLHttpRequest.

static bool PowerUI.Http.HttpHeaders.Restricted ( string  header)
inlinestatic

Checks if the given header is restricted.

static void PowerUI.Http.HttpHeaders.SetupRestricted ( )
inlinestaticprivate

Sets up the restricted set.

Member Data Documentation

Dictionary<string,bool> PowerUI.Http.HttpHeaders.RestrictedSet
staticprivate

The set of restricted headers.