예제 #1
0
        /// <summary>
        /// Echoes the query string parameters out to the screen (except
        /// for OAuth parameters)
        /// </summary>
        /// <param name="context">HTTP context</param>
        public void ProcessRequest(HttpContext context)
        {
            string separator = string.Empty;

            NameValueCollection parameters = OAuthParameters.GetNonOAuthParameters(
                context.Request.QueryString);

            foreach (string key in parameters.AllKeys)
            {
                foreach (string value in parameters.GetValues(key))
                {
                    context.Response.Write(separator + key + "=" + value);
                    separator = "&";
                }
            }
        }