public void Test_HttpClient_ResponseHeaders_SetCookie_multiple()
        {
            HTTPHeaders headers = new HTTPHeaders();

            headers.Add("Set-Cookie", "ORASSO_AUTH_HINT=v1.0~20130715222353; path=/; ;");
            headers.Add("Set-Cookie", "ORA_UCM_INFO=3~291A1AA7BA90676EE0401490BEAB1D1; path=/; ; expires=Sat, 11-Jan-2014 14:23:53 GMT");
            headers.Add("Set-Cookie", "CookieName=cookie_v==alue; expires=Sat, 11-Jan-2014 14:23:53 GMT; path=/; ;");
            RunResponseHeaderTest(headers);
        }
        public void Test_HttpClient_ResponseHeaders_WWWAuthenticate_multiple()
        {
            HTTPHeaders headers = new HTTPHeaders();

            headers.Add("WWW-Authenticate", "Negotiate");
            headers.Add("WWW-Authenticate", "NTLM");
            headers.Add("WWW-Authenticate", "digest");
            headers.Add("WWW-Authenticate", "basic");
            RunResponseHeaderTest(headers);
        }
        private void RunResponseHeaderTest(string headerName, string expectedValue)
        {
            HTTPHeaders headers = new HTTPHeaders();

            headers.Add(headerName, expectedValue);
            RunResponseHeaderTest(headers);
        }