source: binary-improvements/MapRendering/Web/API/Null.cs@ 338

Last change on this file since 338 was 325, checked in by alloc, 6 years ago

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File size: 441 bytes
Line 
1using System.Net;
2using System.Text;
3
4namespace AllocsFixes.NetConnections.Servers.Web.API {
5 public class Null : WebAPI {
6 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user,
7 int permissionLevel) {
8 resp.ContentLength64 = 0;
9 resp.ContentType = "text/plain";
10 resp.ContentEncoding = Encoding.ASCII;
11 resp.OutputStream.Write (new byte[] { }, 0, 0);
12 }
13 }
14}
Note: See TracBrowser for help on using the repository browser.