Changeset 244 for binary-improvements/MapRendering/Web/API/GetLandClaims.cs
- Timestamp:
- Jul 21, 2015, 9:51:32 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetLandClaims.cs
r238 r244 9 9 public class GetLandClaims : WebAPI 10 10 { 11 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, HttpListenerBasicIdentity user)11 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) 12 12 { 13 13 string steamid = string.Empty; … … 17 17 steamid = req.QueryString ["steamid"]; 18 18 if (steamid.Length != 17 || !long.TryParse (steamid, out tempLong)) { 19 resp.StatusCode = (int)HttpStatusCode. InternalServerError;19 resp.StatusCode = (int)HttpStatusCode.BadRequest; 20 20 Web.SetResponseTextContent (resp, "Invalid SteamID given"); 21 21 return;
Note:
See TracChangeset
for help on using the changeset viewer.