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... | |
|
inlinestaticprivate |
Restricts the given header. It can't be used from e.g. XMLHttpRequest.
|
inlinestatic |
Checks if the given header is restricted.
|
inlinestaticprivate |
Sets up the restricted set.
|
staticprivate |
The set of restricted headers.