Exemplo n.º 1
0
        private string GetStatusLine(StatusCode code)
        {
            // TODO: Create the response status line and return it
            string statusLine = Configuration.ServerHTTPVersion + " " + code.ToString() + " " + Convert.ChangeType(code, code.GetTypeCode()).ToString();

            return(statusLine);
        }