diff --git a/HTTP/HttpResponse.cs b/HTTP/HttpResponse.cs index 5529e53..360c9da 100644 --- a/HTTP/HttpResponse.cs +++ b/HTTP/HttpResponse.cs @@ -31,6 +31,8 @@ public class HttpResponse public static HttpResponse BadRequest(HttpContent? content = null) => new HttpResponse(400, "Bad request", content); + public static HttpResponse Forbidden(HttpContent? content = null) => new HttpResponse(403, "Forbidden", content); + public static HttpResponse NotFound(HttpContent? content = null) => new HttpResponse(404, "Not found", content); public static HttpResponse NotAcceptable(HttpContent? content = null) => new HttpResponse(406, "Not acceptable", content);