Ignore:
Timestamp:
Aug 9, 2017, 7:43:07 PM (7 years ago)
Author:
alloc
Message:

Fixes 14_16_21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/Handlers/UserStatusHandler.cs

    r244 r309  
    2828                        result.Add ("permissions", perms);
    2929
    30                         WriteJSON (resp, result);
    31                 }
    32 
    33                 public void WriteJSON (HttpListenerResponse resp, JSONNode root) {
    34                         byte[] buf = Encoding.UTF8.GetBytes (root.ToString ());
    35                         resp.ContentLength64 = buf.Length;
    36                         resp.ContentType = "application/json";
    37                         resp.ContentEncoding = Encoding.UTF8;
    38                         resp.OutputStream.Write (buf, 0, buf.Length);
     30                        AllocsFixes.NetConnections.Servers.Web.API.WebAPI.WriteJSON (resp, result);
    3931                }
    4032
Note: See TracChangeset for help on using the changeset viewer.