Canonicalize.RedirectHandler.ProcessRequest C# (CSharp) 메소드

ProcessRequest() 공개 메소드

Redirects a HTTP request by setting the status code and the Location header.
public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
리턴 void
        public void ProcessRequest(HttpContext context)
        {
            context.Response.Status = "301 Moved Permanently";
            context.Response.AppendHeader("Location", _location.ToString());
        }