예제 #1
0
        /// <summary>
        /// Send a continue reponse. This is used internally by the session.
        /// </summary>
        public void SendContinue()
        {
            //Debug.Assert(_stream == null);

            using (HTTPHeaderOutputStream hs = new HTTPHeaderOutputStream(_session))
                using (TextWriter tw = new StreamWriter(hs))
                {
                    tw.Write(Version);
                    tw.Write(" 100 Continue\r\n\r\n");
                }
        }
        /// <summary>
        /// Send a continue reponse. This is used internally by the session.
        /// </summary>
        public void SendContinue()
        {
            //Debug.Assert(_stream == null);

            using (HTTPHeaderOutputStream hs = new HTTPHeaderOutputStream(_session))
            using (TextWriter tw = new StreamWriter(hs))
            {
                tw.Write(Version);
                tw.Write(" 100 Continue\r\n\r\n");
            }
        }