public Process ( |
||
ctx | ||
return | void |
public void Process(ControllerContext ctx)
{
if (contentType!=null)
ctx.Response.SetHeader("Content-Type", contentType);
if (contentEncoding != null)
{
ctx.Response.ContentEncoding = contentEncoding;
ctx.Response.SetHeader("Content-Encoding", contentEncoding.HeaderName);
}
ctx.Response.End(content);
}