/usr/share/asp.net-demos/1.1/handlers/chunked.ashx is in asp.net-examples 4.2-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <%@ WebHandler Language="c#" class="XSPTest.ChunkedTest" %>
using System;
using System.Web;
namespace XSPTest
{
public class ChunkedTest : IHttpHandler
{
public void ProcessRequest (HttpContext context)
{
HttpResponse response = context.Response;
for (int i = 0; i < 10; i++) {
string msg = new string ((char) (i + 'a'), 10000);
response.Output.WriteLine (msg);
response.Flush ();
}
}
public bool IsReusable {
get { return true; }
}
}
}
|