From 38251d13285409dc841152daeee748ebaeeec62f Mon Sep 17 00:00:00 2001 From: uwaa Date: Wed, 13 Nov 2024 01:39:19 +0000 Subject: [PATCH] Create NotAcceptable.cs --- HTTP/Responses/NotAcceptable.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 HTTP/Responses/NotAcceptable.cs diff --git a/HTTP/Responses/NotAcceptable.cs b/HTTP/Responses/NotAcceptable.cs new file mode 100644 index 0000000..e8a7949 --- /dev/null +++ b/HTTP/Responses/NotAcceptable.cs @@ -0,0 +1,11 @@ +namespace Uwaa.HTTP.Responses; + +/// +/// An error caused by a client requesting an unavailable format. +/// +public class NotAcceptable : HttpResponse +{ + public NotAcceptable(HttpContent? body = null) : base(406, "Not Acceptable", body) + { + } +}