internal OwinEnvironment(IDictionary<string, object> env) { _environment = env; RequestHeaders = new RequestHeaders((IDictionary<string, string[]>)_environment[OwinKeys.RequestHeaders]); ResponseHeaders = new ResponseHeaders((IDictionary<string, string[]>) _environment[OwinKeys.ResponseHeaders]); }
internal OwinEnvironment(IDictionary <string, object> env) { _environment = env; RequestHeaders = new RequestHeaders((IDictionary <string, string[]>)_environment[OwinKeys.RequestHeaders]); ResponseHeaders = new ResponseHeaders((IDictionary <string, string[]>)_environment[OwinKeys.ResponseHeaders]); }
public void Setup() { _headerDictionary = new Dictionary<string, string[]>(StringComparer.OrdinalIgnoreCase); //Per OWIN 1.0 spec. _requestHeaders = new RequestHeaders(_headerDictionary); }